[wp-trac] [WordPress Trac] #61939: Stop using 'yes' and 'no' for autoloading in favor of recommended boolean
WordPress Trac
noreply at wordpress.org
Wed Aug 28 16:39:46 UTC 2024
#61939: Stop using 'yes' and 'no' for autoloading in favor of recommended boolean
---------------------------------------------+--------------------------
Reporter: flixos90 | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Options, Meta APIs | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: performance
---------------------------------------------+--------------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
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/61939#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list