[wp-trac] [WordPress Trac] #63207: Docs: Enhance inline documentation for current_time, wp_date, and date_i18n functions/filters.
WordPress Trac
noreply at wordpress.org
Tue Apr 1 05:16:41 UTC 2025
#63207: Docs: Enhance inline documentation for current_time, wp_date, and date_i18n
functions/filters.
--------------------------+-----------------------------
Reporter: dilipbheda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version:
Severity: normal | Keywords: has-patch
Focuses: docs |
--------------------------+-----------------------------
- The `$gmt` argument in the `current_time` function accepts a boolean
value `true|false`
- The `$timestamp` and `$timezone` arguments in the `wp_date` function
accept `null`, but this is not documented inline.
- The `date_i18n` filter documentation includes "Default false," but it
seems unnecessary. Ref: https://tinyurl.com/236y7b5u
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63207>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list