Make WordPress Core

Ticket #17636: 17636.2.diff

File 17636.2.diff, 536 bytes (added by lukecavanagh, 8 years ago)

Patch Refreshed

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

     
    195195        echo '<span class="subtitle">';
    196196        /* translators: %s: search keywords */
    197197        printf( __( 'Search results for &#8220;%s&#8221;' ),
    198                 wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '&hellip;' )
     198                wp_strip_all_tags( esc_html( stripslashes( $_REQUEST['s'] ) ), true )
    199199        );
    200200        echo '</span>';
    201201}