Code Duplication    Length = 3-3 lines in 2 locations

wp-includes/post.php 2 locations

@@ 3062-3064 (lines=3) @@
3059
	if ( 'attachment' !== $post_type ) {
3060
		if ( 'publish' == $post_status ) {
3061
			$now = gmdate('Y-m-d H:i:59');
3062
			if ( mysql2date('U', $post_date_gmt, false) > mysql2date('U', $now, false) ) {
3063
				$post_status = 'future';
3064
			}
3065
		} elseif ( 'future' == $post_status ) {
3066
			$now = gmdate('Y-m-d H:i:59');
3067
			if ( mysql2date('U', $post_date_gmt, false) <= mysql2date('U', $now, false) ) {
@@ 3067-3069 (lines=3) @@
3064
			}
3065
		} elseif ( 'future' == $post_status ) {
3066
			$now = gmdate('Y-m-d H:i:59');
3067
			if ( mysql2date('U', $post_date_gmt, false) <= mysql2date('U', $now, false) ) {
3068
				$post_status = 'publish';
3069
			}
3070
		}
3071
	}
3072