Forums

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

  1. debenedictis
    Member
    Posted 8 months 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 1 month ago #

    Hello Robert,

    Thanks I fixed it.

    kind regards,
    Tom

  3. debenedictis
    Member
    Posted 1 month 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

Reply

You must log in to post.

About this Topic