WordPress.org

Support

Support » Plugins and Hacks » Electric Studio Auto Post Expire » [Resolved] [Plugin: Electric Studio Auto Post Expire] error

[Resolved] [Plugin: Electric Studio Auto Post Expire] error

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hiya!

    That should not be there, thx for pointing that out, update is on its way.

    Gabor

    On yet another point, your nonce is failing, so there is another underlying issue… I’ll see what’s wrong and get back to you.

    1.5.4 is now up on WordPress.org. Can you set up the same environment as you had with the website that gave you the error and try again?

    It should not happen… basically if you get to that point, it means that you’re not coming from within the edit post screen, or something else is messed up, or simply your nonces don’t work.

    thanks
    installed 1.5.5
    seems to be functioning without error
    M

    Marked this topic as resolved

    Thanks Marklcm,

    For those of you who are wondering what the solution was:
    1) updating the post meta is hooked into the save_posts action, which runs every time anything is updated. In that function, there is a verify nonce function.

    2) This action runs even if a post type is saved that does not have the post expiry enabled, and thus, no nonce field is output.

    3) Since there is no nonce field, on update, no nonce is transmitted, and thus the verify nonce fails.

    4) Because I set a wp_die() on failure, this stopped people from actually working. I am sorry about this, will not happen again. (for reference, the function should just return; )

    Gabor

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Electric Studio Auto Post Expire] error’ is closed to new replies.
Skip to toolbar