WordPress.org

Make WordPress Core

Ticket #10366: 10366.3.diff

File 10366.3.diff, 534 bytes (added by caesarsgrunt, 8 years ago)

Updated patch for latest trunk

  • wp-admin/js/common.dev.js

     
    5050                        el.css('display','');
    5151                }).parent().toggleClass( 'wp-menu-open' );
    5252
    53                 $('li.wp-has-submenu', '#adminmenu').each(function(i, e) {
     53                $('li.wp-has-submenu', '#adminmenu').not('.wp-has-current-submenu').each(function(i, e) {
    5454                        var v = $(e).hasClass('wp-menu-open') ? 'o' : 'c';
    5555                        setUserSetting( 'm'+i, v );
    5656                });