WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/20/2014 03:28:55 PM (5 years ago)
Author:
ocean90
Message:

Customizer: Use deep-links for Backgrounds, Headers, and Widgets.

Replace links in admin menu and toolbar to Custom Background/Header screen with deep-links to the Customizer section.
On the Widgets screen display a link to the Customizer widgets panel.

props topher1kenobe, rzen, celloexpressions, westonruter
fixes #25569, #25571, #28032.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/custom-header.php

    r30356 r30459  
    525525<h2><?php _e( 'Custom Header' ); ?></h2>
    526526
     527<?php if ( current_user_can( 'customize' ) ) { ?>
     528<div class="update-nag hide-if-no-customize">
     529    <p>
     530        <?php
     531        printf(
     532            __( 'You can now manage and live-preview Custom Header in the <a href="%1$s">Customizer</a>.' ),
     533            admin_url( 'customize.php?autofocus[control]=header_image' )
     534        );
     535        ?>
     536    </p>
     537</div>
     538<?php } ?>
     539
    527540<?php if ( ! empty( $this->updated ) ) { ?>
    528541<div id="message" class="updated">
Note: See TracChangeset for help on using the changeset viewer.