WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: mm-duplicate] WARNING: Dupilcates GUID (3 posts)

  1. debenedictis
    Member
    Posted 5 years ago #

    Hi,
    Please beware that Duplicate This Post duplicates everything about the post, including the GUID. The only problem is that the Globally Unique IDentifier (GUID) is no longer unique once it is duplicated. That can cause trouble if your posts appear in feeds.

    To resolve this you can patch line 86 of class/mm-duplicate.php:
    $post_data['guid'] = $post->guid;
    to instead be:
    $post_data['guid'] = uniqid($post->guid . ' ');

    Perhaps that code could end up in the next version.

    Robert

    http://wordpress.org/extend/plugins/mm-duplicate/

  2. tbelmans
    Member
    Posted 4 years ago #

    Hello Robert,

    Thanks I fixed it.

    kind regards,
    Tom

  3. debenedictis
    Member
    Posted 4 years ago #

    Hello Tom,
    Thank you for fixing this.

    Since no good deed goes unpunished ... I have another request.
    The Plugin Directory page for mm-duplicate says that it is "Compatible
    up to: 2.5.1" (http://wordpress.org/extend/plugins/mm-duplicate/).

    Do you know if there are any problems using it with 2.8?

    Thank you,
    Robert

Topic Closed

This topic has been closed to new replies.

About this Topic