Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 255-261 (lines=7) @@
252
			$query['child_of'] = false;
253
		}
254
255
		if ( 'all' == $query['get'] ) {
256
			$query['childless'] = false;
257
			$query['child_of'] = 0;
258
			$query['hide_empty'] = 0;
259
			$query['hierarchical'] = false;
260
			$query['pad_counts'] = false;
261
		}
262
263
		$query['taxonomy'] = $taxonomies;
264
@@ 346-352 (lines=7) @@
343
			$args['child_of'] = false;
344
		}
345
346
		if ( 'all' == $args['get'] ) {
347
			$args['childless'] = false;
348
			$args['child_of'] = 0;
349
			$args['hide_empty'] = 0;
350
			$args['hierarchical'] = false;
351
			$args['pad_counts'] = false;
352
		}
353
354
		/**
355
		 * Filters the terms query arguments.