Make WordPress Core

Changeset 55761


Ignore:
Timestamp:
05/16/2023 02:19:06 PM (16 months ago)
Author:
audrasjb
Message:

Editor: Remove shortcode support from block templates.

Props youknowriad, xknown, timothyblynjacobs, matveb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-template.php

    r55703 r55761  
    240240    $content = wptexturize( $content );
    241241    $content = convert_smilies( $content );
    242     $content = shortcode_unautop( $content );
    243242    $content = wp_filter_content_tags( $content, 'template' );
    244     $content = do_shortcode( $content );
    245243    $content = str_replace( ']]>', ']]>', $content );
    246244
Note: See TracChangeset for help on using the changeset viewer.