WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/18/2018 11:53:49 AM (2 years 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-settings.php

    r43751 r43752  
    248248require( ABSPATH . WPINC . '/class-wp-block-parser.php' );
    249249require( ABSPATH . WPINC . '/blocks.php' );
     250require( ABSPATH . WPINC . '/blocks/archives.php' );
     251require( ABSPATH . WPINC . '/blocks/block.php' );
     252require( ABSPATH . WPINC . '/blocks/categories.php' );
     253require( ABSPATH . WPINC . '/blocks/latest-comments.php' );
     254require( ABSPATH . WPINC . '/blocks/latest-posts.php' );
     255require( ABSPATH . WPINC . '/blocks/shortcode.php' );
    250256
    251257$GLOBALS['wp_embed'] = new WP_Embed();
Note: See TracChangeset for help on using the changeset viewer.