Support » Plugin: Duplicate Post » [Plugin: Duplicate Post] Very Minor bug

  • Resolved Jeff Rose


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Lopo


    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 Lopo


    version 2.4 (out now) fixes the issue.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Duplicate Post] Very Minor bug’ is closed to new replies.