Make WordPress Core


Ignore:
Timestamp:
10/23/2020 05:17:52 PM (6 years 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/network/users.php

    r49284 r49286  
    279279
    280280        if ( strlen( $usersearch ) ) {
    281                 /* translators: %s: Search query. */
    282                 printf( '<span class="subtitle">' . __( 'Search results for: %s' ) . '</span>', '<strong>' . esc_html( $usersearch ) . '</strong>' );
     281                echo '<span class="subtitle">';
     282                printf(
     283                        /* translators: %s: Search query. */
     284                        __( 'Search results for: %s' ),
     285                        '<strong>' . esc_html( $usersearch ) . '</strong>'
     286                );
     287                echo '</span>';
    283288        }
    284289        ?>
Note: See TracChangeset for help on using the changeset viewer.