Coding Standards: Remove redundant check in wp-admin/nav-menus.php.
The `$add_new_screen` variable is already checked as falsey a few lines above, and is a prerequisite for reaching this code. Follow-up to [51539]. Props justlevine. See #63268. Built from https://develop.svn.wordpress.org/trunk@60440 git-svn-id: http://core.svn.wordpress.org/trunk@59776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1122,14 +1122,12 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<p><?php echo $starter_copy; ?></p>
|
||||
</div>
|
||||
|
||||
<?php if ( ! $add_new_screen ) : ?>
|
||||
<div id="nav-menu-bulk-actions-top" class="bulk-actions" <?php echo $hide_style; ?>>
|
||||
<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 _e( 'Bulk Select' ); ?></span>
|
||||
</label>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div id="nav-menu-bulk-actions-top" class="bulk-actions" <?php echo $hide_style; ?>>
|
||||
<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 _e( 'Bulk Select' ); ?></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if ( isset( $edit_markup ) && ! is_wp_error( $edit_markup ) ) {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.9-alpha-60438';
|
||||
$wp_version = '6.9-alpha-60440';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user