[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
Wed Aug 28 16:39:46 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 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/61929#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list