Code Duplication    Length = 4-4 lines in 2 locations

src/wp-includes/class-wp-comment-query.php 2 locations

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