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-background.php

    r30327 r30459  
    238238<div class="wrap" id="custom-background">
    239239<h2><?php _e( 'Custom Background' ); ?></h2>
     240
     241<?php if ( current_user_can( 'customize' ) ) { ?>
     242<div class="update-nag hide-if-no-customize">
     243    <p>
     244        <?php
     245        printf(
     246            __( 'You can now manage and live-preview Custom Backgrounds in the <a href="%1$s">Customizer</a>.' ),
     247            admin_url( 'customize.php?autofocus[control]=background_image' )
     248        );
     249        ?>
     250    </p>
     251</div>
     252<?php } ?>
    240253
    241254<?php if ( ! empty( $this->updated ) ) { ?>
Note: See TracChangeset for help on using the changeset viewer.