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

WordPress Trac noreply at wordpress.org
Tue Jul 13 14:18:11 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
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------
Changes (by desrosj):

 * keywords:  has-patch fixed-major => has-patch


Comment:

 I've been doing some more investigation here today, and this is a lot more
 involved than I anticipated.

 It seems that the older themes that had block patterns added this release
 cycle in [51012,51033,51043,51045,51103,51106] all produce block
 validation errors in WordPress 5.5, even after reverting [51372]. This
 means the initial block patterns introduced do not work on WP 5.5.

 WordPress 5.6 has more mixed results. For example, Twenty Twenty-One has
 no issues after [51372]. I have not tested Twenty Fifteen and earlier yet,
 but Twenty Twenty through Twenty Sixteen all have validation errors after
 [51372] but did not before.

 I have not yet tested WordPress 5.7.

 With this in mind, I am tempted to revert [51372] in `trunk` in favor of
 exploring a better solution that provides better backwards compatibility
 and aiming to release a new version of default themes shortly after 5.8 to
 address these issues.

 @ryelle what do you think?

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


More information about the wp-trac mailing list