[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 Jul 14 15:33:42 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.3
Component: Editor | Version: 6.1
Severity: normal | Resolution:
Keywords: has-testing-info has-screenshots | Focuses:
has-patch has-unit-tests needs-testing |
-------------------------------------------------+-------------------------
Comment (by mai21):
== Test Report
Reproducible with the following steps based on
[https://core.trac.wordpress.org/ticket/56780#comment:14]
1- Install and activate the following theme
2- Create a post and add short code
{{{
<!-- wp:shortcode -->
[hello_world]
<!-- /wp:shortcode -->
}}}
3- View the frontend of the post
=== Environment
* OS: Ubuntu 23.04
* Web Server: Nginx
* PHP: 8.1.9
* WordPress: 6.3-beta4-56228)
* Browser: Chrome 114.0.5735.198
* Theme: [https://drive.google.com/file/d/1BjrLhe-
MGeoPxqbxA4OFlcWFiO57RQH6/view?usp=sharing]
* Active Plugins:
* Core rollback 1.3.5
* WordPress Beta Tester 3.5.2
=== Actual Results
[https://jmp.sh/GzfGQusW]
=== Additional Notes
- Expected o/p:
masthead: hello_world!
Short code in post edit
hello_world!
=== Supplemental Artifacts
- An updated version of the theme: https://drive.google.com/file/d
/1BjrLhe-MGeoPxqbxA4OFlcWFiO57RQH6/view?usp=sharing
- Tested with copy past the changes here into related file
https://github.com/WordPress/wordpress-develop/pull/3851 and can see it is
fixed https://jmp.sh/1Bh3HlbQ
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56780#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list