We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a026d1b commit 286c1bbCopy full SHA for 286c1bb
1 file changed
src/WP_Export_Query.php
@@ -292,8 +292,8 @@ private function category_where() {
292
if ( ! $category ) {
293
return;
294
}
295
- $this->category = $category;
296
- $this->joins[] = "INNER JOIN {$wpdb->term_relationships} AS tr ON (p.ID = tr.object_id)";
+ $this->category = $category;
+ $this->joins[] = "INNER JOIN {$wpdb->term_relationships} AS tr ON (p.ID = tr.object_id)";
297
$this->where_clauses[] = $wpdb->prepare( 'tr.term_taxonomy_id = %d', $category->term_taxonomy_id );
298
299
0 commit comments