Make WordPress Core

Ticket #17636: 17636.3.diff

File 17636.3.diff, 550 bytes (added by sabernhardt, 3 years ago)

refreshed patch

  • src/wp-admin/edit-comments.php

     
    245245        printf(
    246246                /* translators: %s: Search query. */
    247247                __( 'Search results for: %s' ),
    248                 '<strong>' . wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '&hellip;' ) . '</strong>'
     248                '<strong>' . wp_strip_all_tags( esc_html( stripslashes( $_REQUEST['s'] ) ), true ) . '</strong>'
    249249        );
    250250        echo '</span>';
    251251}