[wp-trac] [WordPress Trac] #53617: Update theme block patterns to current shape of used blocks

WordPress Trac noreply at wordpress.org
Wed Jul 14 20:01:35 UTC 2021


#53617: Update theme block patterns to current shape of used blocks
-------------------------------------+-----------------------
 Reporter:  ntsekouras               |       Owner:  desrosj
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  5.8.1
Component:  Bundled Theme            |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------

Comment (by desrosj):

 In [changeset:"51434" 51434]:
 {{{
 #!CommitTicketReference repository="" revision="51434"
 Bundled Themes: Revert the [51372] update to block patterns in bundled
 themes.

 Upon further examination, this change was not great for backwards
 compatibility, resulting in block validation errors when running on older
 versions of WordPress.

 While there are currently many `console.info()` notices caused by older
 format block syntax being updated to the current version included in
 WordPress 5.8, the blocks do not break.

 Block patterns do not currently have a versioning mechanism, or a means to
 indicate which versions of WordPress are supported.

 See #53617.
 }}}

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


More information about the wp-trac mailing list