[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 22:03:55 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):

 @joemcgill Based on your feedback, I have updated
 https://github.com/WordPress/wordpress-develop/pull/7250 to include notes
 on `'yes'|'no'` being accepted for backward compatibility. This way
 they're still documented, but clearly just for BC. This is in line with
 how it's done for `add_option()`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61929#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list