Make WordPress Core


Ignore:
Timestamp:
07/20/2015 01:45:08 AM (11 years ago)
Author:
dd32
Message:

Allow HTML/entities in the Active Theme Name in the themes.php & Customizer templates.

Props iCaleb
Fixes #33036

File:
1 edited

Legend:

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

    r33317 r33327  
    14201420                                        <?php
    14211421                                        /* translators: %s: theme name */
    1422                                         printf( __( '<span>Active:</span> %s' ), '{{ data.theme.name }}' );
     1422                                        printf( __( '<span>Active:</span> %s' ), '{{{ data.theme.name }}}' );
    14231423                                        ?>
    14241424                                </h3>
    14251425                        <# } else { #>
    1426                                 <h3 class="theme-name" id="{{ data.theme.id }}-name">{{ data.theme.name }}</h3>
     1426                                <h3 class="theme-name" id="{{ data.theme.id }}-name">{{{ data.theme.name }}}</h3>
    14271427                                <div class="theme-actions">
    14281428                                        <button type="button" class="button theme-details"><?php _e( 'Theme Details' ); ?></button>
Note: See TracChangeset for help on using the changeset viewer.