[wp-trac] [WordPress Trac] #43941: Add default value to register meta

WordPress Trac noreply at wordpress.org
Sat Apr 13 03:34:18 UTC 2019


#43941: Add default value to register meta
----------------------------------------+-----------------------------
 Reporter:  spacedmonkey                |       Owner:  spacedmonkey
     Type:  enhancement                 |      Status:  assigned
 Priority:  normal                      |   Milestone:  Future Release
Component:  Options, Meta APIs          |     Version:  4.6
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  rest-api
----------------------------------------+-----------------------------

Comment (by TimothyBlynJacobs):

 I'm +1 to this approach.

 I think it might be worth considering checking the provided defaults match
 the registered meta type as well.

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


More information about the wp-trac mailing list