Make WordPress Core


Ignore:
Timestamp:
06/27/2011 08:40:04 PM (13 years ago)
Author:
azaozz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/misc.php

    r17328 r18349  
    374374}
    375375
    376 function wp_menu_unfold() {
    377     if ( isset($_GET['unfoldmenu']) ) {
    378         delete_user_setting('mfold');
    379         wp_redirect( remove_query_arg( 'unfoldmenu', stripslashes($_SERVER['REQUEST_URI']) ) );
    380         exit;
    381     }
    382 }
    383 
    384376/**
    385377 * Check if rewrite rule for WordPress already exists in the IIS 7 configuration file
Note: See TracChangeset for help on using the changeset viewer.