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

WordPress Trac noreply at wordpress.org
Tue Oct 25 17:57:55 UTC 2016


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

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


Comment:

 The `default_option_` filter in `update_option()` does not pass a third
 parameter, which the `filter_default_option()` function requires. See
 https://travis-ci.org/aaronjorbin/develop.wordpress/builds/170519570

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


More information about the wp-trac mailing list