Changeset 17108
- Timestamp:
- 12/22/2010 05:38:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/export.php
r16733 r17108 62 62 if ( $term = term_exists( $args['category'], 'category' ) ) { 63 63 $join = "INNER JOIN {$wpdb->term_relationships} ON ({$wpdb->posts}.ID = {$wpdb->term_relationships}.object_id)"; 64 $where .= $wpdb->prepare( " AND {$wpdb->term_relationships}.term_taxonomy_id = %d", $term['term_ id'] );64 $where .= $wpdb->prepare( " AND {$wpdb->term_relationships}.term_taxonomy_id = %d", $term['term_taxonomy_id'] ); 65 65 } 66 66 }
Note: See TracChangeset
for help on using the changeset viewer.