[wp-trac] [WordPress Trac] #53006: Blocks: Add isDefault to server side block styles registry

WordPress Trac noreply at wordpress.org
Tue Apr 13 08:02:49 UTC 2021


#53006: Blocks: Add isDefault to server side block styles registry
-------------------------+---------------------
 Reporter:  gziolo       |       Owner:  gziolo
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.8
Component:  Editor       |     Version:  trunk
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+---------------------
Changes (by gziolo):

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


Comment:

 In [changeset:"50703" 50703]:
 {{{
 #!CommitTicketReference repository="" revision="50703"
 Blocks: Add is_default handling to server side block styles registry

 Ensures that register_block_style lets developer pass `is_default` flag to
 mark one of the block style variations as the default one.

 Props mukesh27, xavivars.
 Fixes #53006.
 }}}

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


More information about the wp-trac mailing list