[wp-trac] [WordPress Trac] #50871: When exact is true and orderby set to relevance, there is a DB error on search results page

WordPress Trac noreply at wordpress.org
Fri Aug 7 15:50:54 UTC 2020


#50871: When exact is true and orderby set to relevance, there is a DB error on
search results page
------------------------------------+------------------------------
 Reporter:  5um17                   |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Query                   |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 As far as I can tell, there are parentheses in the current condition:
 > `( false && ( false || true ) )`

 With the patch, that becomes:
 > `( false && ( ( false || true ) )`
 but the logic is the same.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50871#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list