WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/24/2017 02:21:42 PM (3 years ago)
Author:
azaozz
Message:

Retire Press This and extract it to a plugin. First run.

Props kraftbj, azaozz.
See #41689.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugins.php

    r41399 r41584  
    6464            if ( isset($_GET['from']) && 'import' == $_GET['from'] ) {
    6565                wp_redirect( self_admin_url("import.php?import=" . str_replace('-importer', '', dirname($plugin))) ); // overrides the ?error=true one above and redirects to the Imports page, stripping the -importer suffix
     66            } else if ( isset($_GET['from']) && 'press-this' == $_GET['from'] ) {
     67                wp_redirect( self_admin_url( "press-this.php") );
    6668            } else {
    6769                wp_redirect( self_admin_url("plugins.php?activate=true&plugin_status=$status&paged=$page&s=$s") ); // overrides the ?error=true one above
Note: See TracChangeset for help on using the changeset viewer.