Make WordPress Core

Changeset 25687


Ignore:
Timestamp:
10/03/2013 09:11:45 AM (10 years ago)
Author:
ocean90
Message:

Revert [25622]. fixes #25445. see #25122.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/nav-menu.js

    r25622 r25687  
    179179                                listItemDBIDMatch = re.exec( t.attr('name') ),
    180180                                listItemDBID = 'undefined' == typeof listItemDBIDMatch[1] ? 0 : parseInt(listItemDBIDMatch[1], 10);
    181                            
    182                             // Only show top level items
    183                             if (0 !== t.closest('ul.children').length)
    184                                 return;
    185                            
     181
    186182                            if ( this.className && -1 != this.className.indexOf('add-to-top') )
    187183                                processMethod = api.addMenuItemToTop;
Note: See TracChangeset for help on using the changeset viewer.