[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 17:02:30 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: reopened
Priority: normal | Milestone: 6.9
Component: Date/Time | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
--------------------------+-----------------------------
Changes (by johnbillion):
* status: closed => reopened
* resolution: fixed =>
Comment:
[60119] is more than just a docs change, and there are unit tests that
pass a non-boolean value to this function
(`test_orderby_date_modified_gmt_should_order_by_comment_ID_in_case_of_tie_ASC()`,
`test_orderby_date_modified_gmt_should_order_by_comment_ID_in_case_of_tie_DESC()`,
maybe others) that should be updated. Functionally it's fine because that
parameter is really a boolean, but let's be careful about calling
something a docs change when it's technically more than that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63207#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list