WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #25216


Ignore:
Timestamp:
09/02/2013 01:39:19 PM (8 years ago)
Author:
DrewAPicture
Comment:

In 25216.diff I simply check whether the redirect was successful, then exit. This clears the way to "canceling" the redirect via the wp_redirect filter.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25216 – Description

    initial v1  
    1 Can we please add a filter to the redirect from post-new.php?post_type=attachment to media-new.php added in 3.5?
     1Can we please make it possible to cancel the redirect from post-new.php?post_type=attachment to media-new.php added in 3.5?
    22
    33There's a nice UI on that screen there I'd like to be able to leverage for something, but it's currently inaccessible due to the redirect and exit in post-new.php.