WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/23/2020 05:17:52 PM (14 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Split long printf() calls for search results for better readability.

Follow-up to [49284].

See #37353.

File:
1 edited

Legend:

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

    r49284 r49286  
    571571
    572572if ( strlen( $usersearch ) ) {
    573     /* translators: %s: Search query. */
    574     printf( '<span class="subtitle">' . __( 'Search results for: %s' ) . '</span>', '<strong>' . esc_html( $usersearch ) . '</strong>' );
     573    echo '<span class="subtitle">';
     574    printf(
     575        /* translators: %s: Search query. */
     576        __( 'Search results for: %s' ),
     577        '<strong>' . esc_html( $usersearch ) . '</strong>'
     578    );
     579    echo '</span>';
    575580}
    576581?>
Note: See TracChangeset for help on using the changeset viewer.