[wp-trac] [WordPress Trac] #27940: phpDoc for function current_time is wrong

WordPress Trac noreply at wordpress.org
Sun Apr 20 18:59:34 UTC 2014


#27940: phpDoc for function current_time is wrong
--------------------------+-----------------------------
 Reporter:  arnee         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Wrong (current)
 {{{
 * @return int|string String if $type is 'gmt', int if $type is
 'timestamp'.
 }}}

 Correct:
 {{{
  * @return int|string String if $type is 'mysql' or not defined, int if
 $type is 'timestamp'.
 }}}

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


More information about the wp-trac mailing list