[wp-trac] [WordPress Trac] #51289: Documentation issue: get_post_time is getting the time when published not when created

WordPress Trac noreply at wordpress.org
Thu Sep 10 20:43:16 UTC 2020


#51289: Documentation issue: get_post_time is getting the time when published not
when created
--------------------------+------------------------------
 Reporter:  casiepa       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Date/Time     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+------------------------------
Changes (by audrasjb):

 * keywords:   => has-patch
 * component:  General => Date/Time


Comment:

 Thanks for raising this issue Pascal!

 I updated the following functions/hooks:
 - the_date_xml
 - the_date
 - get_the_date
 - get_the_modified_date
 - the_time
 - get_the_time
 - get_post_time
 - get_post_modified_time
 - the_weekday
 - the_weekday_date

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51289#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list