WordPress.org

Ready to get started?Download WordPress

Forums

Regenerate Thumbnails
[resolved] backend search broken when plugin active (10 posts)

  1. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    When searching for a page I want to edit in admin, I get the error message:

    Are you sure you want to do this?
    Please try again."

    By a process of elimination I have discovered that this only occurs when Regenerate Thumbnails is active.

    When the plugin is deactivated, the issue disappears and even when this is the only active plugin, the issue reappears. The issue appears to be theme independent as well as the issue occurs when I activate twentyeleven with no other plugins.

    http://wordpress.org/extend/plugins/regenerate-thumbnails/

  2. edwardnh
    Member
    Posted 2 years ago #

    I have the same issue with the plugin as well. I hadn't noticed it previously. I don't know if this just started happening or has been a problem all along.

    This webpage explains that this error message is generated as a security feature:

    http://nooshu.com/wordpress-are-you-sure-you-want-to-do-this

    "hidden inputs are inserted into the form allowing WordPress to validate where the request came from."

  3. Andrew Biss
    Member
    Posted 2 years ago #

    I noticed the same error message appears when I moderate comments and use the "Empty Spam" or "Empty Trash" buttons.

    Regenerate Thumbnails version 2.2.0 was working OK with WordPress 3.3 but is broken by the update to version 2.2.1.

  4. edwardnh
    Member
    Posted 2 years ago #

    Right Andrew, I had the same problem with emptying trash as well. Uninstalling the plugin and reinstalling 2.20 and the problem goes away.

    I am pretty sure the problem is the nonce feature now because the 2.20 of Regenerate Thumbnails outputs an id and wpnonce code at the end of the URL string for the hidden WordPress security form input after regenerating a thumbnail.

    I noticed that my Featured thumbnail image was missing in the Post edit menu as well after I posted a post while Regenerate Thumbnails 2.21 was active. When I went back to 2.20 and regenerated the thumbnails for that featured thumbnail using version 2.20, the thumbnail reappeared.

    So I think these are two interrelated problems with the latest version.

  5. Seth Alling
    Member
    Posted 2 years ago #

    I received the same message as well, but I also get it when trying to filter posts. If I downgrade to the last version, then everything works fine, so I'd have to agree with edwardnh that this is probably a nonce issue.

  6. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    The new Version - 2.22 seems to have fixed this issue. Nice one Alex!

  7. Andrew Biss
    Member
    Posted 2 years ago #

    I can also confirm that version 2.2.2 fixes the problem with the "Empty Spam" or "Empty Trash" buttons I noticed with 2.2.1.

  8. edwardnh
    Member
    Posted 2 years ago #

    Andrew and cube, works for me too. Good stuff!

  9. Seth Alling
    Member
    Posted 2 years ago #

    I can also confirm that it works with both filtering and searching posts. Thank you!

  10. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 2 years ago #

    Sorry about this. Seems I didn't test enough after fixing one bug and it caused another bug. :(

    But yes, it should be all fixed now. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic