Menus: Remove a redundant and unused `0` parameter from the `Delete Menu` link on the nav menus admin screen.
Fixes #35641. Built from https://develop.svn.wordpress.org/trunk@36419 git-svn-id: http://core.svn.wordpress.org/trunk@36386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4b4978ecbd
commit
34b9af6efd
|
@ -825,7 +825,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
<div class="major-publishing-actions">
|
<div class="major-publishing-actions">
|
||||||
<?php if ( 0 != $menu_count && ! $add_new_screen ) : ?>
|
<?php if ( 0 != $menu_count && ! $add_new_screen ) : ?>
|
||||||
<span class="delete-action">
|
<span class="delete-action">
|
||||||
<a class="submitdelete deletion menu-delete" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'delete', 'menu' => $nav_menu_selected_id, admin_url() ) ), 'delete-nav_menu-' . $nav_menu_selected_id) ); ?>"><?php _e('Delete Menu'); ?></a>
|
<a class="submitdelete deletion menu-delete" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'delete', 'menu' => $nav_menu_selected_id ), admin_url( 'nav-menus.php' ) ), 'delete-nav_menu-' . $nav_menu_selected_id) ); ?>"><?php _e('Delete Menu'); ?></a>
|
||||||
</span><!-- END .delete-action -->
|
</span><!-- END .delete-action -->
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<div class="publishing-action">
|
<div class="publishing-action">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-36418';
|
$wp_version = '4.5-alpha-36419';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue