WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #10041, comment 12


Ignore:
Timestamp:
02/05/2013 05:30:17 AM (9 years ago)
Author:
miqrogroove
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10041, comment 12

    initial v1  
    11I guess we need to ask ourselves, what's the difference between these two queries?
    22
     3{{{
    34SELECT 'hello\'world' LIKE 'hello\'world';
    45
    56SELECT 'hello\'world' LIKE 'hello\\\'world';
     7}}}
    68
    79If you say there's no difference, then we can safely ignore quotes in like_escape().  If you are confused and think this makes no sense, then the extra slashes help explain what's going on.