[wp-trac] [WordPress Trac] #56496: Twenty Twenty-Two: Update comment block markup

WordPress Trac noreply at wordpress.org
Fri Sep 2 14:20:52 UTC 2022


#56496: Twenty Twenty-Two: Update comment block markup
---------------------------+---------------------
 Reporter:  mikachan       |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  6.1
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+---------------------

Comment (by poena):

 The theme supports WordPress 5.9 and newer. This change removes the
 comments area on WordPress installations below 6.1, because the {{{<!--
 wp:comments -->}}} block does not exist.

 In
 [https://github.com/WordPress/gutenberg/issues/43203#issuecomment-1226756338
 this related issue], I suggested that we could try to include the old
 block for old WP versions, and the new block for newer WP versions, by
 conditionally registering different block patterns and update the
 templates to use that patterns.

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


More information about the wp-trac mailing list