Fix replacement regex in wp-admin/js/nav-menu.js.

props rzen, jeremyfelt.
fixes #26047.
Built from https://develop.svn.wordpress.org/trunk@26233


git-svn-id: http://core.svn.wordpress.org/trunk@26140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-11-16 07:42:11 +00:00
parent ef007d1a40
commit 4e28c278a5
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ var wpNavMenu;
return this.each(function() {
var t = $(this), menuItems = {},
checkboxes = ( menus.oneThemeLocationNoMenus && 0 === t.find( '.tabs-panel-active .categorychecklist li input:checked' ).length ) ? t.find( '#page-all li input[type="checkbox"]' ) : t.find( '.tabs-panel-active .categorychecklist li input:checked' ),
re = /menu-item\[([^]\]*)/;
re = /menu-item\[([^\]]*)/;
processMethod = processMethod || api.addMenuItemToBottom;

File diff suppressed because one or more lines are too long