[wp-trac] [WordPress Trac] #27916: Add New Post screen nonce failure should redirect to Edit Post screen
WordPress Trac
noreply at wordpress.org
Fri May 12 19:12:37 UTC 2017
#27916: Add New Post screen nonce failure should redirect to Edit Post screen
----------------------------+-----------------------------
Reporter: jdgrimes | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
----------------------------+-----------------------------
Comment (by csloisel):
So this is redirecting to the referring page and raises some questions
around the desired user experience. The current implementation may be the
best case scenario. I would consider this an edge case in the publishing
workflow where it is arguably a fair "punishment" for not saving drafts,
which would be the ideal and intended workflow.
The only alternatives that come to mind would be to force the user to the
draft page on first auto-draft, either by window state change or redirect;
or rework how the nonce is validating for all actions on post-new.php.
Forcing the user to a new page during editing doesn't seem like a good
experience, and at a glance the latter option may require some pretty far-
reaching changes into core and feels like more trouble than it's worth.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27916#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list