diff --git src/wp-admin/includes/meta-boxes.php src/wp-admin/includes/meta-boxes.php
index ba43c7dbda..7f1bdf213f 100644
|
|
if ( current_user_can( "delete_post", $post->ID ) ) { |
264 | 264 | <?php |
265 | 265 | if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) { |
266 | 266 | if ( $can_publish ) : |
267 | | if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?> |
| 267 | if ( !empty($post->post_date_gmt) && current_time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?> |
268 | 268 | <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Schedule') ?>" /> |
269 | 269 | <?php submit_button( __( 'Schedule' ), 'primary large', 'publish', false ); ?> |
270 | 270 | <?php else : ?> |