Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Current version not allowing 'Add New Post/Page' #249

jezthomp opened this Issue Mar 21, 2013 · 2 comments


None yet
3 participants

The current version available seems to break the adding a new post or page.

Installed via the theme, meta boxes themselves appear fine... in existing posts.

Try and add a new post or a new page and you get..

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

djevrek commented Mar 22, 2013

Yes, i got same error. As i searched for this, i find this page and this explanation http://wordpress.stackexchange.com/questions/60957/what-causes-the-are-you-sure-you-want-to-do-this-error-with-plugins. Didn't tried it, i just used older version of metabox and that seems to works fine.

rilwis added a commit that referenced this issue Mar 23, 2013

Fix #248, #249, also [link](http://www.deluxeblogtips.com/forums/view…

Shorten checks when saving posts:
- revert check for autosave, using constants. The function `wp_is_post_autosave` is not realiable when current post is Draft
- remove check for user permission, as WP already does that
- remove check for inline-save as verifying nonce is enough

Note: nonce now is verified only, no "permission" nag is displayed when it's invalid. We just return in that case. This won't block other code to execute.

djevrek commented Mar 23, 2013

thanks !

@rilwis rilwis closed this Mar 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment