Title: [Plugin: Delete Duplicate Posts] the plugin breaks my menu&#8230;
Last modified: August 19, 2016

---

# [Plugin: Delete Duplicate Posts] the plugin breaks my menu…

 *  Resolved [nutesla](https://wordpress.org/support/users/nutesla/)
 * (@nutesla)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-delete-duplicate-posts-the-plugin-breaks-my-menu/)
 * hi,
    i used some plugins that do this… but every “delete duplicate post plugin”
   or similar i found, reset my menu…done with categories…what’s wrong through categories
   and posts? what’s the connection? i don’t understand… why? is there a solution?
 * [http://wordpress.org/extend/plugins/delete-duplicate-posts/](http://wordpress.org/extend/plugins/delete-duplicate-posts/)

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

 *  Thread Starter [nutesla](https://wordpress.org/support/users/nutesla/)
 * (@nutesla)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-delete-duplicate-posts-the-plugin-breaks-my-menu/#post-1663402)
 * latest news:
    also tried with personal links for the nav menu and i don’t know
   why but this plugins treats the default navigation links as posts and it deletes
   the links from the menu!…maybe is the li id=”menu-item-NUMBER”…that it treats
   as post IDs ? How can avoid it? i’m using WordPress 3.0.1 with Mystique Theme
   from digitalnature, latest version… 2.4.2
 * thank you
 *  [ecommonist](https://wordpress.org/support/users/ecommonist/)
 * (@ecommonist)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-delete-duplicate-posts-the-plugin-breaks-my-menu/#post-1663570)
 * I’ve no tested yet but try to replace current WHERE with something like
 *  WHERE (
    ( `post_status` = ‘published’ AND `post_type` = ‘post’ ) OR ( `post_status`
   = ‘publish’ AND `post_type` = ‘post’
 *  [ecommonist](https://wordpress.org/support/users/ecommonist/)
 * (@ecommonist)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-delete-duplicate-posts-the-plugin-breaks-my-menu/#post-1663571)
 * sorry the labels
 *     ```
       WHERE (
                   (
                   <code>post_status</code> = 'published' AND <code>post_type</code> = 'post'
                   )
                   OR (
                   <code>post_status</code> = 'publish' AND <code>post_type</code> = 'post'
       ```
   
 *  [ecommonist](https://wordpress.org/support/users/ecommonist/)
 * (@ecommonist)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-delete-duplicate-posts-the-plugin-breaks-my-menu/#post-1663572)
 * ok, you need the quotes, i dont know how to escape them here.
 *  [Oleg Dudkin](https://wordpress.org/support/users/olegdudkin/)
 * (@olegdudkin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-delete-duplicate-posts-the-plugin-breaks-my-menu/#post-1663580)
 * Thanks, this helped! The same query appears three times in plugin code, so fix
   should be applied 3 times.
 * WHERE (
    ( post_status = ‘published’ ) OR ( post_status = ‘publish’ ) ) AND post_type
   = ‘post’
 *  [ev-olution](https://wordpress.org/support/users/ev-olution/)
 * (@ev-olution)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-delete-duplicate-posts-the-plugin-breaks-my-menu/#post-1663583)
 * Hi there,
 * [@nutesla](https://wordpress.org/support/users/nutesla/)
    Thank you for asking
   this question. This has been driving me nuts also.
 * [@olegdudkin](https://wordpress.org/support/users/olegdudkin/)
    Thank you for
   taking the time to answer. This has saved me a ton of time.
 * I am using the “Delete Duplicate Posts” plugin and had three places in the query
   to update. I updated with this version of the updates above:
 * WHERE (
    ( post_status = ‘published’ ) OR ( post_status = ‘publish’ ) ) AND post_type
   = ‘post’ )
 * Thanks again!
 *  [scrollpost](https://wordpress.org/support/users/scrollpost/)
 * (@scrollpost)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-delete-duplicate-posts-the-plugin-breaks-my-menu/#post-1663586)
 * Yes I want to say thanks also. Without this I would have had to go for the premium
   plugin.
 * I would like to add a tip for everyone.
    If you add the plugin “WP Missed Schedule”,
   I think the cron will execute frequently instead of once a day.
 *  Plugin Author [Lars Koudal](https://wordpress.org/support/users/lkoudal/)
 * (@lkoudal)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-delete-duplicate-posts-the-plugin-breaks-my-menu/#post-1663587)
 * Hiya everyone
 * Sorry about that. I have just released v. 2.2.2 with above updated code. I hope
   it fixes the problem, I have not had much time to test it.

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

The topic ‘[Plugin: Delete Duplicate Posts] the plugin breaks my menu…’ is closed
to new replies.

 * ![](https://ps.w.org/delete-duplicate-posts/assets/icon-256x256.gif?rev=2454059)
 * [Delete Duplicate Posts](https://wordpress.org/plugins/delete-duplicate-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/delete-duplicate-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/delete-duplicate-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/delete-duplicate-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/delete-duplicate-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/delete-duplicate-posts/reviews/)

 * 8 replies
 * 6 participants
 * Last reply from: [Lars Koudal](https://wordpress.org/support/users/lkoudal/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-delete-duplicate-posts-the-plugin-breaks-my-menu/#post-1663587)
 * Status: resolved