Make WordPress Core


Ignore:
Timestamp:
01/20/2020 02:25:13 PM (7 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove unnecessary HTML from "Active:" strings in wp-admin/themes.php.

Follow-up to [45435].

Props ramiy.
Fixes #49243.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/themes.php

    r46812 r47090  
    343343                <?php if ( $theme['active'] ) { ?>
    344344                        <h2 class="theme-name" id="<?php echo $aria_name; ?>">
    345                                 <?php
    346                                 /* translators: %s: Theme name. */
    347                                 printf( __( '<span>Active:</span> %s' ), $theme['name'] );
    348                                 ?>
     345                                <span><?php _ex( 'Active:', 'theme' ); ?></span> <?php echo $theme['name']; ?>
    349346                        </h2>
    350347                <?php } else { ?>
     
    510507                <# if ( data.active ) { #>
    511508                        <h2 class="theme-name" id="{{ data.id }}-name">
    512                                 <?php
    513                                 /* translators: %s: Theme name. */
    514                                 printf( __( '<span>Active:</span> %s' ), '{{{ data.name }}}' );
    515                                 ?>
     509                                <span><?php _ex( 'Active:', 'theme' ); ?></span> {{{ data.name }}}
    516510                        </h2>
    517511                <# } else { #>
Note: See TracChangeset for help on using the changeset viewer.