[wp-trac] [WordPress Trac] #36761: Second parameter missing in some `'default_option_' . $option` filters

WordPress Trac noreply at wordpress.org
Thu May 5 20:23:45 UTC 2016


#36761: Second parameter missing in some `'default_option_' . $option` filters
--------------------------------+-----------------------------
 Reporter:  dlh                 |       Owner:  SergeyBiryukov
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.6
Component:  Options, Meta APIs  |     Version:  4.4
 Severity:  normal              |  Resolution:  fixed
 Keywords:                      |     Focuses:
--------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37367"]:
 {{{
 #!CommitTicketReference repository="" revision="37367"
 Options: After [33738], consistently pass option name as the second
 parameter to the `'default_option_' . $option` filter in `add_option()`
 and `update_option()`.

 Props dlh.
 Fixes #36761.
 }}}

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


More information about the wp-trac mailing list