diff --git a/wp-admin/customize.php b/wp-admin/customize.php
index 375804d568..72630429cd 100644
--- a/wp-admin/customize.php
+++ b/wp-admin/customize.php
@@ -219,7 +219,7 @@ do_action( 'customize_controls_print_scripts' );
' . get_bloginfo( 'name', 'display' ) . '' );
+ printf( __( 'You are customizing %s' ), '' . get_bloginfo( 'name', 'display' ) . '' );
?>
diff --git a/wp-admin/maint/repair.php b/wp-admin/maint/repair.php
index 64242ce6f6..e4ca4544a9 100644
--- a/wp-admin/maint/repair.php
+++ b/wp-admin/maint/repair.php
@@ -111,7 +111,7 @@ if ( ! defined( 'WP_ALLOW_REPAIR' ) || ! WP_ALLOW_REPAIR ) {
printf( __( 'Successfully repaired the %s table.' ), "$table
" );
} else {
/* translators: 1: Table name, 2: Error message. */
- echo sprintf( __( 'Failed to repair the %1$s table. Error: %2$s' ), "$table
", "$check->Msg_text
" ) . '
';
+ printf( __( 'Failed to repair the %1$s table. Error: %2$s' ), "$table
", "$check->Msg_text
" ) . '
';
$problems[ $table ] = $check->Msg_text;
$okay = false;
}
diff --git a/wp-admin/network/sites.php b/wp-admin/network/sites.php
index 7cd53348f0..16873452d2 100644
--- a/wp-admin/network/sites.php
+++ b/wp-admin/network/sites.php
@@ -117,7 +117,7 @@ if ( isset( $_GET['action'] ) ) {
-
built-in CSS editor.' ), esc_url( add_query_arg( 'autofocus[section]', 'custom_css', admin_url( 'customize.php' ) ) ) @@ -362,7 +362,7 @@ if ( ! in_array( 'theme_editor_notice', $dismissed_pointers, true ) ) : parent() ) { echo '
'; - echo sprintf( + printf( /* translators: %s: Link to documentation on child themes. */ __( 'If you need to tweak more than your theme’s CSS, you might want to try making a child theme.' ), esc_url( __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ) ) diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index 9afa79369f..89ac910e9c 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -391,7 +391,7 @@ if ( $tab ) { diff --git a/wp-includes/class-wp-customize-panel.php b/wp-includes/class-wp-customize-panel.php index 73ce2734ce..29c023b5fb 100644 --- a/wp-includes/class-wp-customize-panel.php +++ b/wp-includes/class-wp-customize-panel.php @@ -371,7 +371,7 @@ class WP_Customize_Panel { {{ data.title }}' ); + printf( __( 'You are customizing %s' ), '{{ data.title }}' ); ?> <# if ( data.description ) { #> diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index e48ad5ab53..872cef24ed 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -824,7 +824,7 @@ final class WP_Customize_Widgets { manager->get_panel( 'widgets' )->title ) ); + printf( __( 'Customizing ▸ %s' ), esc_html( $this->manager->get_panel( 'widgets' )->title ) ); ?> diff --git a/wp-includes/customize/class-wp-customize-selective-refresh.php b/wp-includes/customize/class-wp-customize-selective-refresh.php index 822b1354c7..7a02bc3cf0 100644 --- a/wp-includes/customize/class-wp-customize-selective-refresh.php +++ b/wp-includes/customize/class-wp-customize-selective-refresh.php @@ -208,7 +208,7 @@ final class WP_Customize_Selective_Refresh { ); // Export data to JS. - echo sprintf( '', wp_json_encode( $exports ) ); + printf( '', wp_json_encode( $exports ) ); } /** diff --git a/wp-includes/customize/class-wp-customize-themes-section.php b/wp-includes/customize/class-wp-customize-themes-section.php index 260380191e..75e57398ab 100644 --- a/wp-includes/customize/class-wp-customize-themes-section.php +++ b/wp-includes/customize/class-wp-customize-themes-section.php @@ -149,7 +149,7 @@ class WP_Customize_Themes_Section extends WP_Customize_Section { 0' ); + printf( __( '%s themes' ), '0' ); ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index 00280e76f3..ad84191689 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48110'; +$wp_version = '5.5-alpha-48111'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-categories.php b/wp-includes/widgets/class-wp-widget-categories.php index b532454fe8..0d53139cc9 100644 --- a/wp-includes/widgets/class-wp-widget-categories.php +++ b/wp-includes/widgets/class-wp-widget-categories.php @@ -66,7 +66,7 @@ class WP_Widget_Categories extends WP_Widget { ); if ( $dropdown ) { - echo sprintf( '