WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/18/2018 11:53:49 AM (18 months ago)
Author:
pento
Message:

Blocks: Parse blocks when displaying posts.

Posts containing blocks are now correctly handled when displaying on the front end, including dynamic blocks and nested blocks.

See #45109.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-includes/default-filters.php

    r43738 r43752  
    172172add_filter( 'the_title', 'trim'          );
    173173
     174add_filter( 'the_content', 'do_blocks',                      9 );
    174175add_filter( 'the_content', 'wptexturize'                       );
    175176add_filter( 'the_content', 'convert_smilies',               20 );
Note: See TracChangeset for help on using the changeset viewer.