Make WordPress Core


Ignore:
Timestamp:
12/13/2018 06:11:10 PM (6 years ago)
Author:
desrosj
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.

Props pento.

Merges [43752] to trunk.

See #45109.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-settings.php

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