Skip to content

Commit

Permalink
Coding Standards: Apply some minor coding standards fixes.
Browse files Browse the repository at this point in the history
Follow up to [51006].

See #21603.

git-svn-id: https://develop.svn.wordpress.org/trunk@51009 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
joedolson committed May 25, 2021
1 parent 639e1b2 commit 0011fb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/js/_enqueues/lib/nav-menu.js
Expand Up @@ -987,9 +987,9 @@

var menuItemName = $(this).next().text();
var menuItemType = $(this).parent().next('.item-controls').find('.item-type').text();
var menuItemID = $(this).attr('data-menu-item-id') ;
var menuItemID = $(this).attr('data-menu-item-id');

var ListedMenuItem = $('#pending-menu-items-to-delete ul').find('[data-menu-item-id=' + menuItemID + ']') ;
var ListedMenuItem = $('#pending-menu-items-to-delete ul').find('[data-menu-item-id=' + menuItemID + ']');
if( ListedMenuItem.length > 0 ){
ListedMenuItem.remove();
}
Expand Down
6 changes: 3 additions & 3 deletions src/wp-admin/nav-menus.php
Expand Up @@ -984,7 +984,7 @@ function wp_nav_menu_max_depth( $classes ) {
<div id="nav-menu-bulk-actions-top" class="bulk-actions">
<label class="bulk-select-button" for="bulk-select-switcher-top">
<input type="checkbox" id="bulk-select-switcher-top" name="bulk-select-switcher-top" class="bulk-select-switcher">
<span class="bulk-select-button-label"><?php echo __( 'Bulk Select' ) ; ?></span>
<span class="bulk-select-button-label"><?php echo __( 'Bulk Select' ); ?></span>
</label>
</div>
<?php
Expand Down Expand Up @@ -1017,9 +1017,9 @@ function wp_nav_menu_max_depth( $classes ) {
<input type="checkbox" id="bulk-select-switcher-bottom" name="bulk-select-switcher-top" class="bulk-select-switcher">
<span class="bulk-select-button-label"><?php echo __( 'Bulk Select' ); ?></span>
</label>
<input type="button" class="deletion menu-items-delete disabled" value="<?php _e( 'Remove Selected Items' ) ; ?>">
<input type="button" class="deletion menu-items-delete disabled" value="<?php _e( 'Remove Selected Items' ); ?>">
<div id="pending-menu-items-to-delete">
<p><?php _e( 'List of menu items selected for deletion:' ) ; ?></p>
<p><?php _e( 'List of menu items selected for deletion:' ); ?></p>
<ul></ul>
</div>
</div>
Expand Down

0 comments on commit 0011fb5

Please sign in to comment.