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

WordPress Trac noreply at wordpress.org
Wed Nov 30 21:31:41 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:"39383"]:
 {{{
 #!CommitTicketReference repository="" revision="39383"
 Options: Pass the `$passed_default` parameter to the
 `default_option_{$option}` filter in `add_option()`.

 This was missed in [38910].

 Merge of [39382] to the 4.7 branch.

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

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


More information about the wp-trac mailing list