Make WordPress Core

Ticket #26047: 26047.diff

File 26047.diff, 694 bytes (added by jeremyfelt, 11 years ago)
  • src/wp-admin/js/nav-menu.js

     
    166166                                        return this.each(function() {
    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;
    172172