Make WordPress Core


Ignore:
Timestamp:
05/16/2023 02:41:55 PM (18 months ago)
Author:
audrasjb
Message:

Editor: Remove shortcode support from block templates.

Props youknowriad, xknown, timothyblynjacobs, matveb.
Merges [55761] to branch 6.2.

File:
1 edited

Legend:

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

    r55436 r55766  
    241241    $content = wptexturize( $content );
    242242    $content = convert_smilies( $content );
    243     $content = shortcode_unautop( $content );
    244243    $content = wp_filter_content_tags( $content, 'template' );
    245     $content = do_shortcode( $content );
    246244    $content = str_replace( ']]>', ']]>', $content );
    247245
Note: See TracChangeset for help on using the changeset viewer.