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

WordPress Trac noreply at wordpress.org
Fri Jul 17 13:47:38 UTC 2020


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

Comment (by SergeyBiryukov):

 In [changeset:"48504" 48504]:
 {{{
 #!CommitTicketReference repository="" revision="48504"
 Docs: Correct documentation for the `$meta_key` parameter of
 `get_metadata_default()`.

 The parameter is required, not optional.

 Follow-up to [48502].

 See #43941.
 }}}

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


More information about the wp-trac mailing list