Changeset 39541 for trunk/src/wp-admin/widgets.php
- Timestamp:
- 12/07/2016 10:17:23 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/widgets.php
r38723 r39541 345 345 346 346 <div class="wrap"> 347 <h1> 348 <?php 349 echo esc_html( $title ); 350 if ( current_user_can( 'customize' ) ) { 351 printf( 352 ' <a class="page-title-action hide-if-no-customize" href="%1$s">%2$s</a>', 353 esc_url( add_query_arg( 354 array( 355 array( 'autofocus' => array( 'panel' => 'widgets' ) ), 356 'return' => urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) 357 ), 358 admin_url( 'customize.php' ) 359 ) ), 360 __( 'Manage with Live Preview' ) 361 ); 362 } 347 <h1 class="wp-heading-inline"><?php 348 echo esc_html( $title ); 349 ?></h1> 350 351 <?php 352 if ( current_user_can( 'customize' ) ) { 353 printf( 354 ' <a class="page-title-action hide-if-no-customize" href="%1$s">%2$s</a>', 355 esc_url( add_query_arg( 356 array( 357 array( 'autofocus' => array( 'panel' => 'widgets' ) ), 358 'return' => urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) 359 ), 360 admin_url( 'customize.php' ) 361 ) ), 362 __( 'Manage with Live Preview' ) 363 ); 364 } 363 365 ?> 364 </h1> 366 367 <hr class="wp-header-end"> 365 368 366 369 <?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) { ?>
Note: See TracChangeset
for help on using the changeset viewer.