[wp-trac] [WordPress Trac] #56780: shortcode block in block-based template part in a classic theme does not get expanded

WordPress Trac noreply at wordpress.org
Mon Oct 9 14:24:40 UTC 2023


#56780: shortcode block in block-based template part in a classic theme does not
get expanded
-------------------------------------------------+-------------------------
 Reporter:  pbiron                               |       Owner:  costdev
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  high                                 |   Milestone:  6.5
Component:  Editor                               |     Version:  6.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-testing-info has-screenshots     |     Focuses:
  has-patch has-unit-tests changes-requested     |  performance
  needs-testing                                  |
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  has-testing-info has-screenshots has-patch has-unit-tests =>
     has-testing-info has-screenshots has-patch has-unit-tests changes-
     requested needs-testing
 * milestone:  6.4 => 6.5


Comment:

 Update:
 - There are [https://github.com/WordPress/wordpress-
 develop/pull/3851#issuecomment-1752772075 security concerns] about the PR.
 This needs some additional testing.
 - To help with this testing, there is [https://github.com/WordPress
 /wordpress-develop/pull/3851#issuecomment-1752798921 a request] for a test
 theme that uses `block_template_part()` to render a template part
 containing a comments block.
  - @pbiron can you help with this bit?
 - There is [https://github.com/WordPress/wordpress-
 develop/pull/3851#discussion_r1350116639 a request for feedback] from
 @flixos90 regarding `wp_filter_content_tags()`.
 - There is [https://github.com/WordPress/wordpress-
 develop/pull/3851#issuecomment-1752797428 a suggestion] to abstract the
 logic for shared usage between `render_block_core_template_part()` and
 `block_template_part()` which may require changes in the Gutenberg
 repository.
  - @youknowriad Are you happy to follow up on your suggestion with a new
 issue on the GitHub repository? If so, can you drop a link to the issue in
 here as a reference when it's created?

 This ticket needs more work and 6.4 Beta is scheduled for release
 tomorrow. To give us time to explore and resolve the above, I'm
 milestoning this ticket for 6.5.

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


More information about the wp-trac mailing list