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/plugins.php

    r49284 r49286  
    728728
    729729if ( strlen( $s ) ) {
    730         /* translators: %s: Search query. */
    731         printf( '<span class="subtitle">' . __( 'Search results for: %s' ) . '</span>', '<strong>' . esc_html( urldecode( $s ) ) . '</strong>' );
     730        echo '<span class="subtitle">';
     731        printf(
     732                /* translators: %s: Search query. */
     733                __( 'Search results for: %s' ),
     734                '<strong>' . esc_html( urldecode( $s ) ) . '</strong>'
     735        );
     736        echo '</span>';
    732737}
    733738?>
Note: See TracChangeset for help on using the changeset viewer.