[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
Sat Nov 10 04:47:23 UTC 2018


#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:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 Parameter name (`$id`) is wrong in the return descriptions of
 get_the_time(), get_post_time(), and get_post_modified_time()

 current description is:
 {{{
 * @return string|int|false Formatted date string or Unix timestamp if
 `$id` is 'U' or 'G'. False on failure.
 }}}

 must be:

 {{{
 * @return string|int|false Formatted date string or Unix timestamp if `$d`
 is 'U' or 'G'. False on failure.
 }}}

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


More information about the wp-trac mailing list