WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/10/2010 03:57:48 PM (9 years ago)
Author:
ryan
Message:

like_escape() search string. see #15764

File:
1 edited

Legend:

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

    r16821 r16858  
    548548                $searches[] = "$col = '$string'";
    549549            else
    550                 $searches[] = "$col LIKE '$string$wild_char'";
     550                $searches[] = "$col LIKE '" . like_escape($string) . "$wild_char'";
    551551        }
    552552
Note: See TracChangeset for help on using the changeset viewer.