WordPress.org

Make WordPress Core

Changeset 20354


Ignore:
Timestamp:
04/04/2012 09:41:51 PM (8 years ago)
Author:
koopersmith
Message:

Theme Customizer: Add a link to customize the current theme. see #19910.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/wp-admin.dev.css

    r20346 r20354  
    43384338}
    43394339
     4340.theme-options .load-customize {
     4341    margin-right: 20px;
     4342}
     4343
    43404344#post-body ul.add-menu-item-tabs li.tabs a,
    43414345#TB_window #TB_title a.tb-theme-preview-link,
  • trunk/wp-admin/themes.php

    r20168 r20354  
    108108<p class="theme-description"><?php echo $ct->display('Description'); ?></p>
    109109<div class="theme-options">
     110    <a href="#" class="load-customize hide-if-no-js" data-customize-template="<?php echo esc_attr( $ct->get_template() ); ?>" data-customize-stylesheet="<?php echo esc_attr( $ct->get_stylesheet() ); ?>" title="<?php echo esc_attr( sprintf( __( 'Customize &#8220;%s&#8221;' ), $ct->get('Name') ) ); ?>"><?php _e( 'Customize' )?></a>
    110111    <span><?php _e( 'Options:' )?></span>
    111112    <?php
Note: See TracChangeset for help on using the changeset viewer.