[wp-trac] [WordPress Trac] #61023: Add 'label' argument to register_setting

WordPress Trac noreply at wordpress.org
Wed May 29 08:51:20 UTC 2024


#61023: Add 'label' argument to register_setting
---------------------------------------------+-----------------------
 Reporter:  Mamaduka                         |       Owner:  Mamaduka
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  6.6
Component:  Options, Meta APIs               |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by ellatrix):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58230" 58230]:
 {{{
 #!CommitTicketReference repository="" revision="58230"
 Options: Add 'label' argument to register_setting.

 The 'label' will displayed to users when editing core or custom settings
 via block editors. It avoids hardcoding Settings labels and improves
 extensibility.

 Backports https://github.com/WordPress/gutenberg/pull/59243.

 Props mamaduka, timothyblynjacobs, ellatrix.

 Fixes #61023.
 }}}

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


More information about the wp-trac mailing list