Make WordPress Core

Changeset 26233


Ignore:
Timestamp:
11/16/2013 07:41:01 AM (11 years ago)
Author:
SergeyBiryukov
Message:

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

props rzen, jeremyfelt.
fixes #26047.

File:
1 edited

Legend:

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

    r26163 r26233  
    167167                        var t = $(this), menuItems = {},
    168168                            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' ),
    169                             re = /menu-item\[([^]\]*)/;
     169                            re = /menu-item\[([^\]]*)/;
    170170
    171171                        processMethod = processMethod || api.addMenuItemToBottom;
Note: See TracChangeset for help on using the changeset viewer.