Make WordPress Core

Ticket #28032: 28032.diff

File 28032.diff, 2.1 KB (added by celloexpressions, 10 years ago)

Softer language, place the notice directly in each page, hide-if-no-customize.

  • src/wp-admin/custom-background.php

     
    233233<div class="wrap" id="custom-background">
    234234<h2><?php _e( 'Custom Background' ); ?></h2>
    235235
     236<div class="update-nag hide-if-no-customize">
     237        <p>
     238        <?php printf( __( 'You can now manage and live-preview Custom Backgrounds in the <a href="%1$s">Customizer</a>.' ), admin_url( 'customize.php' ) ); ?>
     239        </p>
     240</div>
     241
    236242<?php if ( ! empty( $this->updated ) ) { ?>
    237243<div id="message" class="updated">
    238244<p><?php printf( __( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p>
  • src/wp-admin/custom-header.php

     
    522522<div class="wrap">
    523523<h2><?php _e( 'Custom Header' ); ?></h2>
    524524
     525<div class="update-nag hide-if-no-customize">
     526        <p>
     527        <?php printf( __( 'You can now manage and live-preview Custom Headers in the <a href="%1$s">Customizer</a>.' ), admin_url( 'customize.php' ) ); ?>
     528        </p>
     529</div>
     530
    525531<?php if ( ! empty( $this->updated ) ) { ?>
    526532<div id="message" class="updated">
    527533<p><?php printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p>
  • src/wp-admin/widgets.php

     
    312312<div class="wrap">
    313313<h2><?php echo esc_html( $title ); ?></h2>
    314314
     315<div class="updated hide-if-no-customize">
     316        <p>
     317        <?php printf( __( 'You can now manage and live-preview Widgets in the <a href="%1$s">Customizer</a>.' ), admin_url( 'customize.php' ) ); ?>
     318        </p>
     319</div>
     320
    315321<?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) { ?>
    316322<div id="message" class="updated"><p><?php echo $messages[$_GET['message']]; ?></p></div>
    317323<?php } ?>