[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
Sat Sep 9 04:01:22 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:  6.4
Component:  Editor                               |     Version:  6.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-testing-info has-screenshots     |     Focuses:
  has-patch has-unit-tests                       |
-------------------------------------------------+-------------------------

Comment (by iammehedi1):

 == Test Report
 This report validates that the indicated patch fixed the issue.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/3851

 === Environment
 - OS: Windows 11 Pro (22H2)
 - Web Server: nginx/1.25.1
 - PHP: 7.4.33
 - WordPress: 6.4-alpha-56267-src
 - Browser: Chrome Version 116.0.5845.141 (Official Build) (64-bit)
 - Theme: Test 56780 -
 https://core.trac.wordpress.org/attachment/ticket/56780/test-
 56780_updated.zip.
 - No Active Plugins

 === Prior to Applying the Patch
 - Followed the provided guidelines of @mai21
 - ❌ The shortcode remained unprocessed within the template section,
 whether it was placed within a <!-- wp:shortcode --> block or used
 independently.

 === After Applying The Patch
 - ✅ The issue was fixed.

 === Supplemental Artifacts

 **Before patch:**

 [[Image(https://i.ibb.co/Qn2zFY3/image.png)]]

 **After Patch:**

 [[Image(https://i.ibb.co/FKHKF1j/image.png)]]

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


More information about the wp-trac mailing list