Ticket #32808: 32808.diff
File 32808.diff, 1014 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/nav-menus.php
563 563 <?php if ( $num_locations && $menu_count ) : ?> 564 564 <a href="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>" class="nav-tab<?php if ( $locations_screen ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Manage Locations' ); ?></a> 565 565 <?php endif; ?> 566 <?php 567 if ( current_user_can( 'customize' ) ) { 568 printf( 569 ' <a class="add-new-h2 hide-if-no-customize" href="%1$s">%2$s</a>', 570 esc_url( add_query_arg( 571 array( 572 array( 'autofocus' => array( 'panel' => 'menus' ) ), 573 'return' => urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) 574 ), 575 admin_url( 'customize.php' ) 576 ) ), 577 __( 'Manage in Customizer' ) 578 ); 579 } 580 ?> 566 581 </h2> 567 582 <?php 568 583 foreach( $messages as $message ) :