Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #27043, comment 4


Ignore:
Timestamp:
02/08/2014 03:27:01 AM (11 years ago)
Author:
AdamCapriola
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27043, comment 4

    v1 v2  
    5050
    5151Perhaps there can be some kind of a check, so that if `s` is empty then that part doesn't get added to the SQL? I think that's what throwing it off.
     52
     53EDIT: It looks like the function in question is `parse_search` located in /wp-includes/query.php and it's line 1968 that is adding to the SQL:
     54
     55https://core.trac.wordpress.org/browser/tags/3.8.1/src/wp-includes/query.php#L1968