[wp-trac] [WordPress Trac] #48357: Improve documentation for wp-includes/option.php

WordPress Trac noreply at wordpress.org
Tue Feb 25 20:06:46 UTC 2020


#48357: Improve documentation for wp-includes/option.php
--------------------------------------+-----------------------------
 Reporter:  leogermani                |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.4
Component:  Options, Meta APIs        |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:  docs
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47373" 47373]:
 {{{
 #!CommitTicketReference repository="" revision="47373"
 Docs: In `update_option()`, remove an inaccurate statement about the
 `$autoload` value for new options.

 If the option does not exist, it will be created with whatever was passed
 to the `$autoload` parameter, `'yes'` being only the default value.

 Props leogermani.
 Fixes #48357.
 }}}

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


More information about the wp-trac mailing list