[wp-trac] [WordPress Trac] #45323: Docs: parameter name is wrong in the return descriptions of get_the_time(), get_post_time(), and get_post_modified_time()

WordPress Trac noreply at wordpress.org
Tue Jan 15 02:07:46 UTC 2019


#45323: Docs: parameter name is wrong in the return descriptions of get_the_time(),
get_post_time(), and get_post_modified_time()
------------------------------+----------------------
 Reporter:  behzod            |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.1
Component:  Date/Time         |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+----------------------
Changes (by desrosj):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44592" 44592]:
 {{{
 #!CommitTicketReference repository="" revision="44592"
 Docs: Update inaccurate `return` descriptions.

 In the `@return` tag description for `get_post_modified_time()`,
 `get_the_time()`, and `get_post_time()`, the `$d` parameter is incorrectly
 referred to as `$id`.

 Props behzod.
 Fixes #45323.
 }}}

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


More information about the wp-trac mailing list