Changeset 30405 for branches/4.0/src/wp-includes/link-template.php
- Timestamp:
- 11/20/2014 10:58:42 AM (10 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
- Property svn:mergeinfo changed
/trunk merged: 30263-30264,30401
- Property svn:mergeinfo changed
-
branches/4.0/src/wp-includes/link-template.php
r30260 r30405 1514 1514 1515 1515 if ( ! empty( $excluded_terms ) ) { 1516 $where .= " AND p.ID NOT IN ( SELECT object_id FROM $wpdb->term_relationships WHERE term_taxonomy_id IN (" . implode( $excluded_terms, ',' ) . ') )';1516 $where .= " AND p.ID NOT IN ( SELECT tr.object_id FROM $wpdb->term_relationships tr LEFT JOIN $wpdb->term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) WHERE tt.term_id IN (" . implode( $excluded_terms, ',' ) . ') )'; 1517 1517 } 1518 1518 }
Note: See TracChangeset
for help on using the changeset viewer.