Make WordPress Core


Ignore:
Timestamp:
12/16/2010 02:22:41 PM (16 years ago)
Author:
ryan
Message:

Add like_escape() to some queries. fixes #15764

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r16643 r16999  
    346346         */
    347347        function get_search_sql( $string, $cols ) {
    348                 $string = esc_sql( $string );
     348                $string = esc_sql( like_escape( $string ) );
    349349
    350350                $searches = array();
Note: See TracChangeset for help on using the changeset viewer.