- Timestamp:
- 09/14/2023 01:11:29 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-custom-image-header.php
r55988 r56571 510 510 <h1><?php _e( 'Custom Header' ); ?></h1> 511 511 512 <?php if ( current_user_can( 'customize' ) ) { ?> 513 <div class="notice notice-info hide-if-no-customize"> 514 <p> 515 <?php 516 printf( 512 <?php 513 if ( current_user_can( 'customize' ) ) { 514 $message = sprintf( 517 515 /* translators: %s: URL to header image configuration in Customizer. */ 518 516 __( 'You can now manage and live-preview Custom Header in the <a href="%s">Customizer</a>.' ), 519 517 admin_url( 'customize.php?autofocus[control]=header_image' ) 520 518 ); 521 ?> 522 </p> 523 </div> 524 <?php } ?> 519 wp_admin_notice( 520 $message, 521 array( 522 'type' => 'info', 523 'additional_classes' => array( 'hide-if-no-customize' ), 524 ) 525 ); 526 } 527 ?> 525 528 526 529 <?php if ( ! empty( $this->updated ) ) { ?>
Note: See TracChangeset
for help on using the changeset viewer.