Make WordPress Core


Ignore:
Timestamp:
10/18/2018 11:53:49 AM (6 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/tools/webpack/packages.js

    r43751 r43752  
    118118
    119119    const phpFiles = {
    120         'block-serialization-default-parser/parser.php': 'wp-includes/class-wp-block-parser.php',
     120        // Parser shouldn't be copied until nested block issues are resolved.
     121        // 'block-serialization-default-parser/parser.php': 'wp-includes/class-wp-block-parser.php',
     122        'block-library/src/archives/index.php': 'wp-includes/blocks/archives.php',
     123        'block-library/src/block/index.php': 'wp-includes/blocks/block.php',
     124        'block-library/src/categories/index.php': 'wp-includes/blocks/categories.php',
     125        'block-library/src/latest-comments/index.php': 'wp-includes/blocks/latest-comments.php',
     126        'block-library/src/latest-posts/index.php': 'wp-includes/blocks/latest-posts.php',
     127        'block-library/src/shortcode/index.php': 'wp-includes/blocks/shortcode.php',
    121128    };
    122129
Note: See TracChangeset for help on using the changeset viewer.