Make WordPress Core

Ticket #33036: 33036.patch

File 33036.patch, 1.3 KB (added by iCaleb, 11 years ago)

Fixes html entity escaping

  • wp-admin/themes.php

     
    331331                <h3 class="theme-name" id="{{ data.id }}-name">
    332332                        <?php
    333333                        /* translators: %s: theme name */
    334                         printf( __( '<span>Active:</span> %s' ), '{{ data.name }}' );
     334                        printf( __( '<span>Active:</span> %s' ), '{{{ data.name }}}' );
    335335                        ?>
    336336                </h3>
    337337        <# } else { #>
  • wp-includes/class-wp-customize-control.php

     
    14191419                                <h3 class="theme-name" id="{{ data.theme.id }}-name">
    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>
    14291429                                </div>