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

WordPress Trac noreply at wordpress.org
Mon Sep 23 18:55:43 UTC 2019


#43941: Add default value to register meta
--------------------------------------------+---------------------------
 Reporter:  spacedmonkey                    |       Owner:  spacedmonkey
     Type:  enhancement                     |      Status:  assigned
 Priority:  normal                          |   Milestone:  5.4
Component:  Options, Meta APIs              |     Version:  4.6
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch has-unit-tests early  |     Focuses:  rest-api
--------------------------------------------+---------------------------
Changes (by kadamwhite):

 * keywords:  has-patch has-unit-tests commit => has-patch has-unit-tests
     early
 * owner:  kadamwhite => spacedmonkey
 * milestone:  5.3 => 5.4


Comment:

 Infinite recursion on test startup was introduced in 43941.4.diff, Timothy
 will post further details. There may also be an issue where 'null' will be
 returned for the default if at least one meta key has default values
 registered for a given type. Punting to 5.4-early.

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


More information about the wp-trac mailing list