Ticket #27406: 27406.5.diff
File 27406.5.diff, 1.5 KB (added by , 10 years ago) |
---|
-
src/wp-includes/class-wp-customize-section.php
240 240 ?> 241 241 <li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="control-section control-panel accordion-section"> 242 242 <h3 class="accordion-section-title" tabindex="0"><?php echo esc_html( $this->title ); ?></h3> 243 <span class="control-panel-back" tabindex="-1"><span class="screen-reader-text"> Back to Customize</span></span>243 <span class="control-panel-back" tabindex="-1"><span class="screen-reader-text"><?php _e( 'Back to Customize' ); ?></span></span> 244 244 <ul class="accordion-sub-container control-panel-content"> 245 245 <li class="accordion-section control-section<?php if ( empty( $this->description ) ) echo ' cannot-expand'; ?>"> 246 246 <div class="accordion-section-title" tabindex="0"> 247 247 <span class="preview-notice"><?php 248 /* translators: %s is the panel title in the Customize/Live Preview pane */ 249 echo sprintf( 'You are customizing %s', '<strong class="panel-title">' . esc_html( $this->title ) . '</strong>' ); 248 echo sprintf( _x( 'You are customizing %s', '%s is the panel title in the Customize/Live Preview pane' ), '<strong class="panel-title">' . esc_html( $this->title ) . '</strong>' ); 250 249 ?></span> 251 250 </div> 252 251 <?php if ( ! empty( $this->description ) ) : ?>