mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Make get_tax_sql() a standalone function. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16267 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1899,7 +1899,7 @@ class WP_Query extends WP_Object_Query {
|
||||
$post_status_join = true;
|
||||
}
|
||||
|
||||
$where .= $this->get_tax_sql( $q['tax_query'], "$wpdb->posts.ID" );
|
||||
$where .= get_tax_sql( $q['tax_query'], "$wpdb->posts.ID" );
|
||||
|
||||
// Back-compat
|
||||
$cat_query = wp_list_filter( $q['tax_query'], array( 'taxonomy' => 'category' ) );
|
||||
|
||||
Reference in New Issue
Block a user