[wp-trac] [WordPress Trac] #38176: Add 'default' to register_setting

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


#38176: Add 'default' to register_setting
-------------------------------------------------+-------------------------
 Reporter:  rmccue                               |       Owner:  joehoyle
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  4.7
Component:  Options, Meta APIs                   |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch dev-feedback needs-dev-    |     Focuses:
  note needs-refresh                             |
-------------------------------------------------+-------------------------

Comment (by ocean90):

 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/38176#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list