[wp-trac] [WordPress Trac] #56644: Global styles don't work for most blocks (paragraphs, headings, buttons etc).

WordPress Trac noreply at wordpress.org
Tue Oct 4 15:48:46 UTC 2022


#56644: Global styles don't work for most blocks (paragraphs, headings, buttons
etc).
------------------------------+----------------------------
 Reporter:  jorgefilipecosta  |       Owner:  davidbaumwald
     Type:  defect (bug)      |      Status:  closed
 Priority:  high              |   Milestone:  6.1
Component:  Editor            |     Version:  trunk
 Severity:  major             |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------------
Changes (by davidbaumwald):

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


Comment:

 In [changeset:"54385" 54385]:
 {{{
 #!CommitTicketReference repository="" revision="54385"
 Editor: Invalidate blocks metadata cache when needed in
 `WP_Theme_JSON::get_blocks_metadata()`.

 This change ensures that user-supplied global styles settings for blocks
 aren't lost due to sanitization.  This could previously occur due to
 outdated blocks metadata that did not include all registered blocks.

 Props jorgefilipecosta, andrewserong, oandregal, talldanwp, cbravobernal,
 bernhard-reiter, hellofromTonya.
 Fixes #56644.
 }}}

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


More information about the wp-trac mailing list