Make WordPress Core


Ignore:
Timestamp:
07/03/2015 10:28:29 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Customizer: Remove HTML tags from two translatable strings.

props henrikakselsen.
fixes #32817.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-section.php

    r32971 r33078  
    402402                <?php
    403403                if ( $this->manager->is_theme_active() ) {
    404                     /* translators: %s: theme name */
    405                     printf( __( '<span class="customize-action">Active theme</span> %s' ), $this->title );
     404                    echo '<span class="customize-action">' . __( 'Active theme' ) . '</span> ' . $this->title;
    406405                } else {
    407                     /* translators: %s: theme name */
    408                     printf( __( '<span class="customize-action">Previewing theme</span> %s' ), $this->title );
     406                    echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span> ' . $this->title;
    409407                }
    410408                ?>
     
    421419                    <?php
    422420                    if ( $this->manager->is_theme_active() ) {
    423                         /* translators: %s: theme name */
    424                         printf( __( '<span class="customize-action">Active theme</span> %s' ), $this->title );
     421                        echo '<span class="customize-action">' . __( 'Active theme' ) . '</span> ' . $this->title;
    425422                    } else {
    426                         /* translators: %s: theme name */
    427                         printf( __( '<span class="customize-action">Previewing theme</span> %s' ), $this->title );
     423                        echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span> ' . $this->title;
    428424                    }
    429425                    ?>
Note: See TracChangeset for help on using the changeset viewer.