Changes from branches/2.7/wp-admin/admin.php at r10312 to trunk/wp-admin/admin.php at r9979
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin.php
r10312 r9979 62 62 // backwards compatibility for plugins using add_management_page 63 63 if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook($plugin_page, 'tools.php') ) { 64 // There could be plugin specific params on the URL, so we need the whole query string 65 if ( !empty($_SERVER[ 'QUERY_STRING' ]) ) 66 $query_string = $_SERVER[ 'QUERY_STRING' ]; 67 else 68 $query_string = 'page=' . $plugin_page; 69 wp_redirect( 'tools.php?' . $query_string ); 64 wp_redirect('tools.php?page=' . $plugin_page); 70 65 exit; 71 66 }
Note: See TracChangeset
for help on using the changeset viewer.