Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 498-500 (lines=3) @@
495
			}
496
		}
497
498
		if ( ! empty( $args['name__like'] ) ) {
499
			$this->sql_clauses['where']['name__like'] = $this->db->prepare( "t.name LIKE %s", '%' . $this->db->esc_like( $args['name__like'] ) . '%' );
500
		}
501
502
		if ( ! empty( $args['description__like'] ) ) {
503
			$this->sql_clauses['where']['description__like'] = $this->db->prepare( "tt.description LIKE %s", '%' . $this->db->esc_like( $args['description__like'] ) . '%' );
@@ 502-504 (lines=3) @@
499
			$this->sql_clauses['where']['name__like'] = $this->db->prepare( "t.name LIKE %s", '%' . $this->db->esc_like( $args['name__like'] ) . '%' );
500
		}
501
502
		if ( ! empty( $args['description__like'] ) ) {
503
			$this->sql_clauses['where']['description__like'] = $this->db->prepare( "tt.description LIKE %s", '%' . $this->db->esc_like( $args['description__like'] ) . '%' );
504
		}
505
506
		if ( '' !== $parent ) {
507
			$parent = (int) $parent;