Ticket #8978: 8978.001.diff
| File 8978.001.diff, 672 bytes (added by , 17 years ago) |
|---|
-
wp-admin/includes/template.php
2438 2438 global $wp_locale, $post, $comment; 2439 2439 2440 2440 if ( $for_post ) 2441 $edit = ( in_array($post->post_status, array('draft', 'pending') ) && (!$post->post_date || '0000-00-00 00:00:00' == $post->post_date) ) ? false : true;2441 $edit = ( in_array($post->post_status, array('draft', 'pending') ) && (!$post->post_date_gmt || '0000-00-00 00:00:00' == $post->post_date_gmt ) ) ? false : true; 2442 2442 2443 2443 $tab_index_attribute = ''; 2444 2444 if ( (int) $tab_index > 0 )