mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Editor: Remove shortcode support from block templates.
Props youknowriad, xknown, timothyblynjacobs, matveb. git-svn-id: https://develop.svn.wordpress.org/trunk@55761 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
abbf859d53
commit
1cbfa03510
@ -239,9 +239,7 @@ function get_the_block_template_html() {
|
||||
$content = do_blocks( $content );
|
||||
$content = wptexturize( $content );
|
||||
$content = convert_smilies( $content );
|
||||
$content = shortcode_unautop( $content );
|
||||
$content = wp_filter_content_tags( $content, 'template' );
|
||||
$content = do_shortcode( $content );
|
||||
$content = str_replace( ']]>', ']]>', $content );
|
||||
|
||||
// Wrap block template in .wp-site-blocks to allow for specific descendant styles
|
||||
|
||||
Loading…
Reference in New Issue
Block a user