Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 261-267 (lines=7) @@
258
			$query['child_of'] = false;
259
		}
260
261
		if ( 'all' == $query['get'] ) {
262
			$query['childless'] = false;
263
			$query['child_of'] = 0;
264
			$query['hide_empty'] = 0;
265
			$query['hierarchical'] = false;
266
			$query['pad_counts'] = false;
267
		}
268
269
		$query['taxonomy'] = $taxonomies;
270
@@ 348-354 (lines=7) @@
345
			$args['child_of'] = false;
346
		}
347
348
		if ( 'all' == $args['get'] ) {
349
			$args['childless'] = false;
350
			$args['child_of'] = 0;
351
			$args['hide_empty'] = 0;
352
			$args['hierarchical'] = false;
353
			$args['pad_counts'] = false;
354
		}
355
356
		/**
357
		 * Filters the terms query arguments.