WordPress.org

Make WordPress Core

Changeset 36419


Ignore:
Timestamp:
01/28/2016 06:13:38 AM (5 years ago)
Author:
dd32
Message:

Menus: Remove a redundant and unused 0 parameter from the Delete Menu link on the nav menus admin screen.

Fixes #35641.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/nav-menus.php

    r36379 r36419  
    826826                            <?php if ( 0 != $menu_count && ! $add_new_screen ) : ?>
    827827                            <span class="delete-action">
    828                                 <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>
     828                                <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>
    829829                            </span><!-- END .delete-action -->
    830830                            <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.