Code Duplication    Length = 3-3 lines in 2 locations

wp-includes/date.php 2 locations

@@ 760-762 (lines=3) @@
757
758
		if ( isset( $query['month'] ) && $value = $this->build_value( $compare, $query['month'] ) ) {
759
			$where_parts[] = "MONTH( $column ) $compare $value";
760
		} elseif ( isset( $query['monthnum'] ) && $value = $this->build_value( $compare, $query['monthnum'] ) ) {
761
			$where_parts[] = "MONTH( $column ) $compare $value";
762
		}
763
		if ( isset( $query['week'] ) && false !== ( $value = $this->build_value( $compare, $query['week'] ) ) ) {
764
			$where_parts[] = _wp_mysql_week( $column ) . " $compare $value";
765
		} elseif ( isset( $query['w'] ) && false !== ( $value = $this->build_value( $compare, $query['w'] ) ) ) {
@@ 765-767 (lines=3) @@
762
		}
763
		if ( isset( $query['week'] ) && false !== ( $value = $this->build_value( $compare, $query['week'] ) ) ) {
764
			$where_parts[] = _wp_mysql_week( $column ) . " $compare $value";
765
		} elseif ( isset( $query['w'] ) && false !== ( $value = $this->build_value( $compare, $query['w'] ) ) ) {
766
			$where_parts[] = _wp_mysql_week( $column ) . " $compare $value";
767
		}
768
		if ( isset( $query['dayofyear'] ) && $value = $this->build_value( $compare, $query['dayofyear'] ) )
769
			$where_parts[] = "DAYOFYEAR( $column ) $compare $value";
770