Menus: Remove a redundant and unused 0
parameter from the Delete Menu
link on the nav menus admin screen.
Fixes #35641. git-svn-id: https://develop.svn.wordpress.org/trunk@36419 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c974ac77c4
commit
b27ed68003
@ -825,7 +825,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<div class="major-publishing-actions">
|
||||
<?php if ( 0 != $menu_count && ! $add_new_screen ) : ?>
|
||||
<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 -->
|
||||
<?php endif; ?>
|
||||
<div class="publishing-action">
|
||||
|
Loading…
Reference in New Issue
Block a user