Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1119-1121 (lines=3) @@
1116
		}
1117
1118
		// If querystring 'cat' is an array, implode it.
1119
		if ( is_array( $q['cat'] ) ) {
1120
			$q['cat'] = implode( ',', $q['cat'] );
1121
		}
1122
1123
		// Category stuff
1124
		if ( ! empty( $q['cat'] ) && ! $this->is_singular ) {
@@ 1199-1201 (lines=3) @@
1196
		}
1197
1198
		// If querystring 'tag' is array, implode it.
1199
		if ( is_array( $q['tag'] ) ) {
1200
			$q['tag'] = implode( ',', $q['tag'] );
1201
		}
1202
1203
		// Tag stuff
1204
		if ( '' != $q['tag'] && !$this->is_singular && $this->query_vars_changed ) {