mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
ef007d1a40
commit
4e28c278a5
@ -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;
|
||||
|
||||
|
2
wp-admin/js/nav-menu.min.js
vendored
2
wp-admin/js/nav-menu.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user