[wp-trac] [WordPress Trac] #61929: Update documentation for remaining autoload functions to only include `true|false` as parameter values
WordPress Trac
noreply at wordpress.org
Tue Aug 27 16:46:28 UTC 2024
#61929: Update documentation for remaining autoload functions to only include
`true|false` as parameter values
--------------------------------+--------------------------------
Reporter: flixos90 | Owner: flixos90
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.7
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs, performance
--------------------------------+--------------------------------
Comment (by joemcgill):
I think this change makes sense, and aligns with the intent of [57920] and
what was communicated in the associated
[https://make.wordpress.org/core/2024/06/18/options-api-disabling-
autoload-for-large-options/ Dev Note post]. The argument against is that
the function technically does support string values for those parameters
for backwards compatibility.
Do you know if there other places where we intentionally limit the param
values in docs to exclude values that are only supported for backwards
compatibility purposes?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61929#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list