[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
Fri Sep 11 06:07:44 UTC 2020
#51289: Documentation issue: get_post_time is getting the time when published not
when created
--------------------------+-----------------------------
Reporter: casiepa | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.6
Component: Date/Time | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
--------------------------+-----------------------------
Comment (by Rarst):
The current wording is imperfect, but "was published" would imply a post
''is'' published. It might be not be published. It might be scheduled for
the future.
I think it should be neutral wording like "the date of the current post",
which is already partially there. It just describes the return without
implications about state of the post.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51289#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list