[wp-trac] [WordPress Trac] #61998: Proposal: Add `label` argument to `register_meta` function

WordPress Trac noreply at wordpress.org
Mon Sep 16 11:31:42 UTC 2024


#61998: Proposal: Add `label` argument to `register_meta` function
-------------------------------------------------+-------------------------
 Reporter:  santosguillamot                      |       Owner:  gziolo
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.7
Component:  Options, Meta APIs                   |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note dev-feedback                              |
-------------------------------------------------+-------------------------
Changes (by gziolo):

 * owner:  (none) => gziolo
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59023" 59023]:
 {{{
 #!CommitTicketReference repository="" revision="59023"
 Meta: Add label argument to register_meta function

 With the introduction of Block Bindings, it became more common to see
 workflows where users need to see the custom fields that are available or
 connected. They were relying on the meta key, however it feelt too
 technical sometimes. The solution is adding a new label argument to
 include a human-readable name that can be used across the UI.

 Props santosguillamot, mamaduka, gziolo, timothyblynjacobs, peterwilsoncc.
 Fixes #61998.
 }}}

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


More information about the wp-trac mailing list