mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Coding Standards: Split long printf() calls for search results for better readability.
Follow-up to [49284]. See #37353. git-svn-id: https://develop.svn.wordpress.org/trunk@49286 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -570,8 +570,13 @@ switch ( $wp_list_table->current_action() ) {
|
||||
}
|
||||
|
||||
if ( strlen( $usersearch ) ) {
|
||||
/* translators: %s: Search query. */
|
||||
printf( '<span class="subtitle">' . __( 'Search results for: %s' ) . '</span>', '<strong>' . esc_html( $usersearch ) . '</strong>' );
|
||||
echo '<span class="subtitle">';
|
||||
printf(
|
||||
/* translators: %s: Search query. */
|
||||
__( 'Search results for: %s' ),
|
||||
'<strong>' . esc_html( $usersearch ) . '</strong>'
|
||||
);
|
||||
echo '</span>';
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user