• Resolved nicoe

    (@nicoe)


    Hello,

    I found something strange with this plugin. When I’m logged in and try to create a revision of a page from the admin bar, the link points to the wrong post (always the same).
    For example, when I am on the home page of my website, the link to edit a page is:
    wp-admin/post.php?post=1050&action=edit
    where as the revionize link is:
    wp-admin/admin.php?action=revisionize_create&post=6318&_wpnonce=ed4b3d9381
    You can see that the post id should be 1050 but is 6318.

    Everything works fine from the edit page view. I mean if I click on edit page then the link to revionize is now:
    wp-admin/admin.php?action=revisionize_create&post=1050&_wpnonce=3f9c8d8ebe

    Any idea what caused this?

    Regards

Viewing 1 replies (of 1 total)
  • Thread Starter nicoe

    (@nicoe)

    Hey,

    I found that this problem was caused by another plugin (ThemeRex Utilities) provided by the theme I used. A loop was missing a call to wp_reset_data.

    Sorry for the noise

Viewing 1 replies (of 1 total)

The topic ‘Wrong post id in admin bar’ is closed to new replies.