Changeset 16413 for trunk/wp-includes/query.php
- Timestamp:
- 11/17/2010 01:56:01 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r16404 r16413 1934 1934 $q['tax_query'] = $this->parse_tax_query( $q ); 1935 1935 if ( !empty( $q['tax_query'] ) ) { 1936 $clauses = call_user_func_array( 'get_tax_sql', array( $q['tax_query'], $wpdb->posts, 'ID', &$this) ); 1937 1938 $join .= $clauses['join']; 1939 $where .= $clauses['where']; 1940 1936 1941 if ( empty($post_type) ) { 1937 1942 $post_type = 'any'; … … 1940 1945 $post_status_join = true; 1941 1946 } 1942 1943 $where .= get_tax_sql( $q['tax_query'], "$wpdb->posts.ID" );1944 1947 1945 1948 // Back-compat
Note: See TracChangeset
for help on using the changeset viewer.