Coding Standards: Replace echo sprintf() with printf().

See #49542.

git-svn-id: https://develop.svn.wordpress.org/trunk@48111 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-06-20 13:16:45 +00:00
parent 738144bd05
commit 8909a914c7
11 changed files with 15 additions and 15 deletions

View File

@@ -219,7 +219,7 @@ do_action( 'customize_controls_print_scripts' );
<span class="preview-notice">
<?php
/* translators: %s: The site/panel title in the Customizer. */
echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name', 'display' ) . '</strong>' );
printf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name', 'display' ) . '</strong>' );
?>
</span>
<button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text"><?php _e( 'Help' ); ?></span></button>