Ticket #32817: 32817.patch
File 32817.patch, 1.7 KB (added by , 9 years ago) |
---|
-
wp-includes/class-wp-customize-section.php
401 401 <h3 class="accordion-section-title"> 402 402 <?php 403 403 if ( $this->manager->is_theme_active() ) { 404 /* translators: %s:theme name */405 printf( __( '<span class="customize-action">Active theme</span> %s' ),$this->title );404 /* translators: theme name */ 405 echo( '<span class="customize-action">' . __( 'Active theme' ) . '</span>' . $this->title ); 406 406 } else { 407 /* translators: %s:theme name */408 printf( __( '<span class="customize-action">Previewing theme</span> %s' ),$this->title );407 /* translators: theme name */ 408 echo( '<span class="customize-action">' . __( 'Previewing theme' ) . '</span>' . $this->title ); 409 409 } 410 410 ?> 411 411 … … 420 420 <h3 class="accordion-section-title customize-section-title"> 421 421 <?php 422 422 if ( $this->manager->is_theme_active() ) { 423 /* translators: %s:theme name */424 printf( __( '<span class="customize-action">Active theme</span> %s' ), $this->title );423 /* translators: theme name */ 424 echo '<span class="customize-action">' . __( 'Active theme' ) . '</span>' . $this->title ; 425 425 } else { 426 /* translators: %s:theme name */427 printf( __( '<span class="customize-action">Previewing theme</span> %s' ), $this->title );426 /* translators: theme name */ 427 echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span>' . $this->title; 428 428 } 429 429 ?> 430 430 <button type="button" class="button customize-theme"><?php _e( 'Customize' ); ?></button>