[wp-trac] [WordPress Trac] #61274: Block Styles: Allow registration across multiple block types at once

WordPress Trac noreply at wordpress.org
Thu May 30 07:33:40 UTC 2024


#61274: Block Styles: Allow registration across multiple block types at once
-------------------------------------------------+-------------------------
 Reporter:  aaronrobertshaw                      |       Owner:
                                                 |  isabel_brison
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.6
Component:  Editor                               |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by isabel_brison):

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


Comment:

 In [changeset:"58246" 58246]:
 {{{
 #!CommitTicketReference repository="" revision="58246"
 Editor: allow registering block styles for multiple block types.

 Updates the `WP_Block_Styles_Registry` class to allow registering an array
 of blocks.

 Props aaronrobertshaw, talldanwp, isabel_brison.
 Fixes #61274.
 }}}

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


More information about the wp-trac mailing list