[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
Fri Sep 8 13:32:37 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 petitphp):

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

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

 === Environment
 - OS: macOS 13.4.1
 - Web Server: Nginx
 - PHP: 7.4.33
 - WordPress: 6.4-alpha-56267-src
 - Browser: Firefox 118.b2
 - Theme: Theme: test-56780 v0.1.0 (same as comment:14) with custom
 `masthead.html` content
 [https://gist.github.com/ironprogrammer/0fb4e5084968b84977fa813bcfde771c
 from ironprogrammer's gist]
 - Active Plugins: ø

 === Actual Results
 - ✅ `do_shortcode` (original reported issue)
 - ✅ `wptexturize` (e.g. processed smart quotes)
 - ✅ `convert_smilies`
 - ✅ `shortcode_unautop`
 - ✅ `wp_filter_content_tags` (added decoding="async" loading="lazy"
 attributes to <img> tag)
 - ✅ `$wp_embed->autoembed`

 === Additional Notes
 - I was able to reproduce the original issue in trunk.
 - Prior to doing the testing, the patch has been refresh with latest
 change up until [https://github.com/WordPress/wordpress-
 develop/commit/3f9bc4eac0564a1bd344219810974f4b19c5d909 trunk at 3f9bc4e].

 === Supplemental Artifacts
 See attachments bellow for screenshots before and after applying the
 patch.

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


More information about the wp-trac mailing list