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

WordPress Trac noreply at wordpress.org
Tue Sep 27 20:03:57 UTC 2016


#38176: Add 'default' to register_setting
--------------------------------+------------------------------
 Reporter:  rmccue              |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+------------------------------

Comment (by joehoyle):

 This looks good to me, +1 on the moving of the function too - right now
 I'm having to manually include the admin file when we want to use
 `register_setting` outside of the admin, which is fairly common now with
 the additions.

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


More information about the wp-trac mailing list