mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Remove unnecessary function_exists check in get_the_block_template_html
WordPress can be confident that WordPress functions exist. I forgot this function existed. And I thought that it would fatal, but it didn't And it was so nice So peaceful and quiet I forgot this function existed It isn't love, it isn't hate, it's just indifference Introduced in [51003]. Props walbo. Fixes #53578. See #53176. git-svn-id: https://develop.svn.wordpress.org/trunk@51321 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8477f505be
commit
b97fe776da
@ -170,11 +170,7 @@ function get_the_block_template_html() {
|
||||
$content = $wp_embed->autoembed( $content );
|
||||
$content = do_blocks( $content );
|
||||
$content = wptexturize( $content );
|
||||
if ( function_exists( 'wp_filter_content_tags' ) ) {
|
||||
$content = wp_filter_content_tags( $content );
|
||||
} else {
|
||||
$content = wp_make_content_images_responsive( $content );
|
||||
}
|
||||
$content = wp_filter_content_tags( $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