Baki Goxhaj
2013-10-28 21:22:12 UTC
I'm running a tax query and I'm getting no results. From debugging I found
PS: I use the same exact code somewhere else in the site and it works fine.
In this case I'm using this code inside a function in function.php.
Kindly,
Baki Goxhaj
about.me/banago
[request] => SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND 0 = 1 AND wp_posts.post_type ...
Interestin Part => ... WHERE 1=1 AND 0 = 1 ...
Is this a normal behaviour?Interestin Part => ... WHERE 1=1 AND 0 = 1 ...
PS: I use the same exact code somewhere else in the site and it works fine.
In this case I'm using this code inside a function in function.php.
Kindly,
Baki Goxhaj
about.me/banago