mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@44118 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -117,7 +117,14 @@ module.exports = function( env = { environment: 'production', watch: false } ) {
|
||||
};
|
||||
|
||||
const phpFiles = {
|
||||
'block-serialization-default-parser/parser.php': 'wp-includes/class-wp-block-parser.php',
|
||||
// Parser shouldn't be copied until nested block issues are resolved.
|
||||
// 'block-serialization-default-parser/parser.php': 'wp-includes/class-wp-block-parser.php',
|
||||
'block-library/src/archives/index.php': 'wp-includes/blocks/archives.php',
|
||||
'block-library/src/block/index.php': 'wp-includes/blocks/block.php',
|
||||
'block-library/src/categories/index.php': 'wp-includes/blocks/categories.php',
|
||||
'block-library/src/latest-comments/index.php': 'wp-includes/blocks/latest-comments.php',
|
||||
'block-library/src/latest-posts/index.php': 'wp-includes/blocks/latest-posts.php',
|
||||
'block-library/src/shortcode/index.php': 'wp-includes/blocks/shortcode.php',
|
||||
};
|
||||
|
||||
const externals = {
|
||||
|
||||
Reference in New Issue
Block a user