[wp-trac] [WordPress Trac] #7634: Need a way to cancel an upload edit

WordPress Trac noreply at wordpress.org
Thu May 7 15:13:15 UTC 2015


#7634: Need a way to cancel an upload edit
-------------------------+-----------------------------
 Reporter:  markjaquith  |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Future Release
Component:  Upload       |     Version:  2.7
 Severity:  major        |  Resolution:
 Keywords:  ux-feedback  |     Focuses:
-------------------------+-----------------------------

Comment (by nikolov.tmw):

 I could argue that this should be a wontfix. This particular media edit
 view is not really much different than editing any other post and if we're
 going to add a cancel button here, then why not add it to the other pages?

 In case it's still valid, then here are a few questions that come to my
 mind:

 How would we determine where the user is coming from?
 Should we just send them back to the Media Library page?
 Should we use the Referer header if present(passing it through
 `wp_validate_redirect()`, to make it safe) and if not, take them back to
 the Media Library page?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/7634#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list