[wp-trac] [WordPress Trac] #38930: Warning Raised when checking option exists

WordPress Trac noreply at wordpress.org
Wed Nov 30 21:21:23 UTC 2016


#38930: Warning Raised when checking option exists
-------------------------------------------------+-------------------------
 Reporter:  lucasstark                           |       Owner:  ocean90
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  4.7
Component:  Options, Meta APIs                   |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  needs-testing has-patch commit dev-  |     Focuses:
  reviewed                                       |
-------------------------------------------------+-------------------------
Changes (by ocean90):

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


Comment:

 In [changeset:"39382"]:
 {{{
 #!CommitTicketReference repository="" revision="39382"
 Options: Pass the `$passed_default` parameter to the
 `'default_option_{$option}` filter in `add_option()`.

 This was missed in [38910].

 Props joehoyle, lucasstark.
 See #38176.
 Fixes #38930.
 }}}

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


More information about the wp-trac mailing list