mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
I18N: Remove unnecessary HTML from "Active:" strings in wp-admin/themes.php
.
Follow-up to [45435]. Props ramiy. Fixes #49243. Built from https://develop.svn.wordpress.org/trunk@47090 git-svn-id: http://core.svn.wordpress.org/trunk@46890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d5be8f0635
commit
1adca958e3
@ -342,10 +342,7 @@ foreach ( $themes as $theme ) :
|
||||
<div class="theme-id-container">
|
||||
<?php if ( $theme['active'] ) { ?>
|
||||
<h2 class="theme-name" id="<?php echo $aria_name; ?>">
|
||||
<?php
|
||||
/* translators: %s: Theme name. */
|
||||
printf( __( '<span>Active:</span> %s' ), $theme['name'] );
|
||||
?>
|
||||
<span><?php _ex( 'Active:', 'theme' ); ?></span> <?php echo $theme['name']; ?>
|
||||
</h2>
|
||||
<?php } else { ?>
|
||||
<h2 class="theme-name" id="<?php echo $aria_name; ?>"><?php echo $theme['name']; ?></h2>
|
||||
@ -509,10 +506,7 @@ if ( ! is_multisite() && current_user_can( 'edit_themes' ) && $broken_themes ) {
|
||||
<div class="theme-id-container">
|
||||
<# if ( data.active ) { #>
|
||||
<h2 class="theme-name" id="{{ data.id }}-name">
|
||||
<?php
|
||||
/* translators: %s: Theme name. */
|
||||
printf( __( '<span>Active:</span> %s' ), '{{{ data.name }}}' );
|
||||
?>
|
||||
<span><?php _ex( 'Active:', 'theme' ); ?></span> {{{ data.name }}}
|
||||
</h2>
|
||||
<# } else { #>
|
||||
<h2 class="theme-name" id="{{ data.id }}-name">{{{ data.name }}}</h2>
|
||||
|
@ -110,7 +110,7 @@ class WP_Customize_Theme_Control extends WP_Customize_Control {
|
||||
<# if ( data.theme.active ) { #>
|
||||
<div class="theme-id-container">
|
||||
<h3 class="theme-name" id="{{ data.section }}-{{ data.theme.id }}-name">
|
||||
<span><?php _e( 'Previewing:' ); ?></span> {{ data.theme.name }}
|
||||
<span><?php _ex( 'Previewing:', 'theme' ); ?></span> {{ data.theme.name }}
|
||||
</h3>
|
||||
<div class="theme-actions">
|
||||
<button type="button" class="button button-primary customize-theme" aria-label="<?php echo esc_attr( $customize_label ); ?>"><?php _e( 'Customize' ); ?></button>
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-47089';
|
||||
$wp_version = '5.4-alpha-47090';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user