Fix unfolding of the admin menu when no JS, fixes #17897

git-svn-id: https://develop.svn.wordpress.org/trunk@18349 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-06-27 20:40:04 +00:00
parent 5110d7f3a3
commit c2c5456fd1
10 changed files with 58 additions and 64 deletions

View File

@@ -373,14 +373,6 @@ function set_screen_options() {
}
}
function wp_menu_unfold() {
if ( isset($_GET['unfoldmenu']) ) {
delete_user_setting('mfold');
wp_redirect( remove_query_arg( 'unfoldmenu', stripslashes($_SERVER['REQUEST_URI']) ) );
exit;
}
}
/**
* Check if rewrite rule for WordPress already exists in the IIS 7 configuration file
*