• Hi all,

    I’ve been trying to modify the Auto-trackback Plugin in order not to double trackback urls by pushing the “Save and Continue Editing” button when posting.

    The plugin download location is here.
    https://dev.wp-plugins.org/browser/auto-trackback-by-category/trunk/autotrackback.php?rev=1524&format=raw

    By default, the plugin adds preconfigured trackback urls to the field altohugh the same urls are already in there. I mean the dipulicated urls are shown when you push the “Save and Continue Editing” button.

    So here is what I did but this does not work.

    Changin the line 144,

    $the_uri = "$old_uri $auto_uri";

    to the following.

    $the_uris = array_merge(explode(' ', $old_uri), explode(' ', $auto_uri));
    $the_uris = array_unique($the_uris);
    $the_uri = implode(' ', $the_uris);

    Does anybody happen to know why this doesn’t work or the solution for this?

    Your information will be appreciated.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Modifying the Autotrackback Plugin’ is closed to new replies.