|
@@ 820-823 (lines=4) @@
|
| 817 |
|
} |
| 818 |
|
|
| 819 |
|
// Post author IDs for an IN clause. |
| 820 |
|
if ( ! empty( $this->query_vars['post_author__in'] ) ) { |
| 821 |
|
$join_posts_table = true; |
| 822 |
|
$this->sql_clauses['where']['post_author__in'] = 'post_author IN ( ' . implode( ',', wp_parse_id_list( $this->query_vars['post_author__in'] ) ) . ' )'; |
| 823 |
|
} |
| 824 |
|
|
| 825 |
|
// Post author IDs for a NOT IN clause. |
| 826 |
|
if ( ! empty( $this->query_vars['post_author__not_in'] ) ) { |
|
@@ 826-829 (lines=4) @@
|
| 823 |
|
} |
| 824 |
|
|
| 825 |
|
// Post author IDs for a NOT IN clause. |
| 826 |
|
if ( ! empty( $this->query_vars['post_author__not_in'] ) ) { |
| 827 |
|
$join_posts_table = true; |
| 828 |
|
$this->sql_clauses['where']['post_author__not_in'] = 'post_author NOT IN ( ' . implode( ',', wp_parse_id_list( $this->query_vars['post_author__not_in'] ) ) . ' )'; |
| 829 |
|
} |
| 830 |
|
|
| 831 |
|
$join = ''; |
| 832 |
|
|