[wp-trac] [WordPress Trac] #21987: function get_post_time - if gmt (unset)

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 24 19:33:18 UTC 2012


#21987: function get_post_time -  if gmt  (unset)
-------------------------------------+--------------------------
 Reporter:  soficgr                  |       Type:  defect (bug)
   Status:  new                      |   Priority:  normal
Milestone:  Awaiting Review          |  Component:  Date/Time
  Version:                           |   Severity:  minor
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------------
 For no publish items and mode auto-draft = close

 if GMT is unset ('0000-00-00 00:00:00' == $post->post_date_gmt)
 at wp-includes/general-template.php function get_post_time effect list
 table -> date column (Last Modified -> %s hours)

 Effect code : wordpress\wp-admin\includes\class-wp-posts-list-table.php
 class WP_Posts_List_Table -> function single_row
 Line 579 : $time = get_post_time( 'G', true, $post );


 I don't know if it affects something else ...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21987>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list