[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
Wed May 14 11:57:39 UTC 2025
#63207: Docs: Enhance inline documentation for current_time, wp_date, and date_i18n
functions/filters.
--------------------------------------+-----------------------------
Reporter: dilipbheda | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: Date/Time | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: docs
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"60235" 60235]:
{{{
#!CommitTicketReference repository="" revision="60235"
Coding Standards: Pass `true` instead of `1` to `current_time()` for
consistency.
This matches the documented type of `bool` for the `$gmt` parameter.
Follow-up to [60119].
Props johnbillion, dilipbheda.
Fixes #63207.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63207#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list