Title: [Plugin: Duplicate Post] Very Minor bug
Last modified: August 20, 2016

---

# [Plugin: Duplicate Post] Very Minor bug

 *  Resolved [Jeff Rose](https://wordpress.org/support/users/talus/)
 * (@talus)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-duplicate-post-very-minor-bug/)
 * In the function duplicate_post_create_duplicate – there’s a small typo.
 * You do
    `if (!empty($prefix))` twice, but the second should be $suffix instead.
   So if I enter only a suffix, it is not prepended with a space. Only if I enter
   a prefix AND a suffix would that work.
 * [http://wordpress.org/extend/plugins/duplicate-post/](http://wordpress.org/extend/plugins/duplicate-post/)

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

 *  Plugin Author [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * (@lopo)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-duplicate-post-very-minor-bug/#post-2689632)
 * Hi,
    you’ re right, I’ve fixed the code in SVN trunk so it will be there in the
   next version. Thank you very much!
 *  Plugin Author [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * (@lopo)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-duplicate-post-very-minor-bug/#post-2689805)
 * Hi,
    version 2.4 (out now) fixes the issue.
 * Thanks.

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

The topic ‘[Plugin: Duplicate Post] Very Minor bug’ is closed to new replies.

 * ![](https://ps.w.org/duplicate-post/assets/icon-256x256.png?rev=2336666)
 * [Yoast Duplicate Post](https://wordpress.org/plugins/duplicate-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicate-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicate-post/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicate-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicate-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicate-post/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-duplicate-post-very-minor-bug/#post-2689805)
 * Status: resolved