Changeset 17925 for trunk/wp-admin/plugins.php
- Timestamp:
- 05/14/2011 09:50:20 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r17900 r17925 60 60 } 61 61 if ( isset($_GET['from']) && 'import' == $_GET['from'] ) { 62 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, strip ing the -importer suffix62 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 63 63 } else { 64 64 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.