Code Duplication    Length = 3-3 lines in 2 locations

src/wp-includes/query.php 2 locations

@@ 1933-1935 (lines=3) @@
1930
		}
1931
1932
		// If querystring 'cat' is an array, implode it.
1933
		if ( is_array( $q['cat'] ) ) {
1934
			$q['cat'] = implode( ',', $q['cat'] );
1935
		}
1936
1937
		// Category stuff
1938
		if ( ! empty( $q['cat'] ) && ! $this->is_singular ) {
@@ 2013-2015 (lines=3) @@
2010
		}
2011
2012
		// If querystring 'tag' is array, implode it.
2013
		if ( is_array( $q['tag'] ) ) {
2014
			$q['tag'] = implode( ',', $q['tag'] );
2015
		}
2016
2017
		// Tag stuff
2018
		if ( '' != $q['tag'] && !$this->is_singular && $this->query_vars_changed ) {