[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
Sun Oct 8 18:04:06 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.4
Component:  Editor                               |     Version:  6.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-testing-info has-screenshots     |     Focuses:
  has-patch has-unit-tests                       |
-------------------------------------------------+-------------------------

Comment (by costdev):

 Update:
 - The PR passes against the security tests.
 - I've made some updates to the PR to document the `$wp_embed` global,
 improve test method docblocks, names and use `get_echo()` for brevity.
 - I've pinged @spacedmonkey to see if some performance checks are possible
 to ensure that this PR doesn't cause too much of impact.

 This one should still be landable in 6.4, provided that the performance
 checks don't show a drastic impact.

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


More information about the wp-trac mailing list