Make WordPress Core

Ticket #17636: 17636.patch

File 17636.patch, 670 bytes (added by jakub.tyrcha, 12 years ago)
  • wp-admin/edit-comments.php

     
    140140        echo __('Comments');
    141141
    142142if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
    143         printf( '<span class="subtitle">' . sprintf( __( 'Search results for &#8220;%s&#8221;' ), wp_html_excerpt( esc_html( stripslashes( $_REQUEST['s'] ) ), 50 ) ) . '</span>' ); ?>
     143        printf( '<span class="subtitle">' . sprintf( __( 'Search results for &#8220;%s&#8221;' ), wp_strip_all_tags( esc_html( stripslashes( $_REQUEST['s'] ) ), true ) ) . '</span>' ); ?>
    144144</h2>
    145145
    146146<?php