• Resolved tallhat

    (@tallhat)


    Hi, i’ve been using ‘Duplicate posts’ for a good while and i’ve just noticed that records created using the ‘Advanced Ads’ plugin are no longer ‘clonable’. They definitely used to be as i gave my client instructions for this, but looking at the support forums, it seems a recent update to DP has stopped certain CPTs showing up under: Settings > Permissions > “Enable for these post types”.

    Could i put another shout in to make all CPTs show up here, or could you give me a short term fix please (i think you mentioned something to fix this in another thread) – i’m comfortable editing functions.php etc if that helps.

    Many thanks, great plugin!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Enrico Battocchi

    (@lopo)

    Hi,
    you should be able to solve the issue by editing line 316 of wp-content/plugins/duplicate-post/duplicate-post-options.php from
    <td><?php $post_types = get_post_types(array('public' => true),'objects');
    to
    <td><?php $post_types = get_post_types(array('show_ui' => true),'objects');

    Thread Starter tallhat

    (@tallhat)

    wow thanks for the quick reply – that worked!

    I noticed that something similar happened with the Coupon custom post type in the WooCommerce plugin.

    Just curious if this will be updated in the next version, because I will most certainly forgot to re-apply the above fix 🙂

    Plugin Author Enrico Battocchi

    (@lopo)

    Hi thad,
    it’s already fixed in development code, I just need some time to test the new version…

    Plugin Author Enrico Battocchi

    (@lopo)

    Hi everybody,
    version 3.0.2, rolling out now, should fix the issue.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Duplicate posts update and certain CPTs’ is closed to new replies.