Changeset 14181
- Timestamp:
- 11/20/2024 07:34:17 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/search.php
r14180 r14181 82 82 $join .= " 83 83 LEFT JOIN 84 {$wpdb->term_relationships} ON {$wpdb->posts}.ID = {$wpdb->term_relationships}.object_id84 {$wpdb->term_relationships} AS tr_search ON {$wpdb->posts}.ID = tr_search.object_id 85 85 LEFT JOIN 86 {$wpdb->term_taxonomy} ON {$wpdb->term_taxonomy}.term_taxonomy_id = {$wpdb->term_relationships}.term_taxonomy_id86 {$wpdb->term_taxonomy} AS tt_search ON tt_search.term_taxonomy_id = tr_search.term_taxonomy_id 87 87 LEFT JOIN 88 {$wpdb->terms} ON {$wpdb->terms}.term_id = {$wpdb->term_taxonomy}.term_id88 {$wpdb->terms} AS t_search ON t_search.term_id = tt_search.term_id 89 89 "; 90 90 } … … 132 132 $or_tag = $wpdb->prepare( "OR 133 133 ( 134 {$wpdb->term_taxonomy}.taxonomy = %s134 tt_search.taxonomy = %s 135 135 AND 136 {$wpdb->terms}.name = %s136 t_search.name = %s 137 137 ) ", 138 138 Registrations::get_taxonomy( 'tags' ),
Note: See TracChangeset
for help on using the changeset viewer.