Changeset 51009
- Timestamp:
- 05/25/2021 06:52:28 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/lib/nav-menu.js
r51006 r51009 988 988 var menuItemName = $(this).next().text(); 989 989 var menuItemType = $(this).parent().next('.item-controls').find('.item-type').text(); 990 var menuItemID = $(this).attr('data-menu-item-id') 991 992 var ListedMenuItem = $('#pending-menu-items-to-delete ul').find('[data-menu-item-id=' + menuItemID + ']') 990 var menuItemID = $(this).attr('data-menu-item-id'); 991 992 var ListedMenuItem = $('#pending-menu-items-to-delete ul').find('[data-menu-item-id=' + menuItemID + ']'); 993 993 if( ListedMenuItem.length > 0 ){ 994 994 ListedMenuItem.remove(); -
trunk/src/wp-admin/nav-menus.php
r51006 r51009 985 985 <label class="bulk-select-button" for="bulk-select-switcher-top"> 986 986 <input type="checkbox" id="bulk-select-switcher-top" name="bulk-select-switcher-top" class="bulk-select-switcher"> 987 <span class="bulk-select-button-label"><?php echo __( 'Bulk Select' ) 987 <span class="bulk-select-button-label"><?php echo __( 'Bulk Select' ); ?></span> 988 988 </label> 989 989 </div> … … 1018 1018 <span class="bulk-select-button-label"><?php echo __( 'Bulk Select' ); ?></span> 1019 1019 </label> 1020 <input type="button" class="deletion menu-items-delete disabled" value="<?php _e( 'Remove Selected Items' ) 1020 <input type="button" class="deletion menu-items-delete disabled" value="<?php _e( 'Remove Selected Items' ); ?>"> 1021 1021 <div id="pending-menu-items-to-delete"> 1022 <p><?php _e( 'List of menu items selected for deletion:' ) 1022 <p><?php _e( 'List of menu items selected for deletion:' ); ?></p> 1023 1023 <ul></ul> 1024 1024 </div>
Note: See TracChangeset
for help on using the changeset viewer.