Ticket #15240: 15240.patch
File 15240.patch, 565 bytes (added by , 14 years ago) |
---|
-
wp-admin/includes/template.php
577 577 function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) { 578 578 global $wp_locale, $post, $comment; 579 579 580 if ( empty ( $post ) ) { return; } 581 580 582 if ( $for_post ) 581 583 $edit = ! ( in_array($post->post_status, array('draft', 'pending') ) && (!$post->post_date_gmt || '0000-00-00 00:00:00' == $post->post_date_gmt ) ); 582 584