[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 Jan 16 20:16:05 UTC 2023


#56780: shortcode block in block-based template part in a classic theme does not
get expanded
-------------------------------------------------+-------------------------
 Reporter:  pbiron                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  high                                 |   Milestone:  Future
                                                 |  Release
Component:  Editor                               |     Version:  6.1
 Severity:  normal                               |  Resolution:
 Keywords:  early has-testing-info has-          |     Focuses:
  screenshots has-patch has-unit-tests           |
-------------------------------------------------+-------------------------

Comment (by petitphp):

 Added a patch that replicate the behavior of the template part block's
 render method in `block_template_part`. Tested manually and with the newly
 created unit test.


 @audrasjb I don't know if this ticket can be added back to the 6.2
 milestone or if it's too late given it was tagged early.

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


More information about the wp-trac mailing list