Fix replacement regex in wp-admin/js/nav-menu.js.
props rzen, jeremyfelt. fixes #26047. git-svn-id: https://develop.svn.wordpress.org/trunk@26233 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3d0c903bfd
commit
9a8ec07996
|
@ -166,7 +166,7 @@ var wpNavMenu;
|
||||||
return this.each(function() {
|
return this.each(function() {
|
||||||
var t = $(this), menuItems = {},
|
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' ),
|
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;
|
processMethod = processMethod || api.addMenuItemToBottom;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue