Code Duplication    Length = 3-3 lines in 2 locations

wp-includes/query.php 2 locations

@@ 1956-1958 (lines=3) @@
1953
		}
1954
1955
		// If querystring 'cat' is an array, implode it.
1956
		if ( is_array( $q['cat'] ) ) {
1957
			$q['cat'] = implode( ',', $q['cat'] );
1958
		}
1959
1960
		// Category stuff
1961
		if ( ! empty( $q['cat'] ) && ! $this->is_singular ) {
@@ 2036-2038 (lines=3) @@
2033
		}
2034
2035
		// If querystring 'tag' is array, implode it.
2036
		if ( is_array( $q['tag'] ) ) {
2037
			$q['tag'] = implode( ',', $q['tag'] );
2038
		}
2039
2040
		// Tag stuff
2041
		if ( '' != $q['tag'] && !$this->is_singular && $this->query_vars_changed ) {