WordPress.org

Make WordPress Core

Changeset 20955


Ignore:
Timestamp:
05/30/2012 04:57:44 PM (6 years ago)
Author:
nacin
Message:

Theme Customizer: Add the theme name to the 'You are previewing' string in the left pane, using a placeholder. props SergeyBiryukov, xibe. fixes #20782.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/customize.php

    r20940 r20955  
    6969            <div id="customize-info" class="customize-section<?php if ( $cannot_expand ) echo ' cannot-expand'; ?>">
    7070                <div class="customize-section-title">
    71                     <span class="preview-notice"><?php _e('You are previewing'); ?></span>
    72                     <strong class="theme-name"><?php echo $wp_customize->theme()->display('Name'); ?></strong>
     71                    <span class="preview-notice"><?php
     72                        /* translators: %s is the theme name in the Customize/Live Preview pane */
     73                        echo sprintf( __( 'You are previewing %s' ), '<strong class="theme-name">' . $wp_customize->theme()->display('Name') . '</strong>' );
     74                    ?></span>
    7375                </div>
    7476                <?php if ( ! $cannot_expand ) : ?>
  • trunk/wp-includes/css/customize-controls.dev.css

    r20940 r20955  
    116116    font-weight: 200;
    117117    line-height: 24px;
     118    color: #333;
    118119    display: block;
    119120    text-shadow: 0 1px 0 #fff;
Note: See TracChangeset for help on using the changeset viewer.