Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #11823, comment 10


Ignore:
Timestamp:
09/05/2013 05:13:42 PM (11 years ago)
Author:
kovshenin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11823, comment 10

    initial v1  
    11[25162] causes a database error if an include or exclude argument is not empty, but is also not really a term id. [attachment:11823.4.diff] addresses that.
     2
     3For reference, here's a sample SQL query it generates (note that 0):
     4
     5{{{
     6SELECT t.*, tt.* FROM wptests_terms AS t INNER JOIN wptests_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('post_tag')0 ORDER BY t.name ASC
     7}}}