[wp-trac] [WordPress Trac] #61103: update all update_option calling in core to set the autoload option
WordPress Trac
noreply at wordpress.org
Wed Aug 28 16:39:46 UTC 2024
#61103: update all update_option calling in core to set the autoload option
-----------------------------------------------+--------------------------
Reporter: pbearne | Owner: pbearne
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.7
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch early changes-requested | Focuses: performance
-----------------------------------------------+--------------------------
Comment (by flixos90):
In [changeset:"58945" 58945]:
{{{
#!CommitTicketReference repository="" revision="58945"
Options, Meta APIs: Stop using 'yes' and 'no' for autoload parameter in
favor of recommended boolean.
This changeset does not modify any behavior, it only updates the code to
use the recommended type for the `$autoload` parameter as of WordPress
6.6. The old values 'yes' and 'no' are only maintained in certain tests
that are explicitly about these backward compatibility values.
Props flixos90, joemcgill, mukesh27.
Fixes #61939.
See #61103, #61929.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61103#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list