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

Built from https://develop.svn.wordpress.org/trunk@25687


git-svn-id: http://core.svn.wordpress.org/trunk@25603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2013-10-03 09:12:08 +00:00
parent 5b6bcb218d
commit 328c4e9a67
2 changed files with 2 additions and 6 deletions

View File

@ -179,10 +179,6 @@ var wpNavMenu;
listItemDBIDMatch = re.exec( t.attr('name') ),
listItemDBID = 'undefined' == typeof listItemDBIDMatch[1] ? 0 : parseInt(listItemDBIDMatch[1], 10);
// Only show top level items
if (0 !== t.closest('ul.children').length)
return;
if ( this.className && -1 != this.className.indexOf('add-to-top') )
processMethod = api.addMenuItemToTop;
menuItems[listItemDBID] = t.closest('li').getItemData( 'add-menu-item', listItemDBID );

File diff suppressed because one or more lines are too long