Make WordPress Core


Ignore:
Timestamp:
06/27/2023 12:43:42 AM (23 months ago)
Author:
peterwilsoncc
Message:

Editor: Update block-serialization-default-parser package for WP 6.3 Beta 1.

Update the @wordpress/block-serialization-default-parser to 4.35.1 for WordPress 6.3 Beta 1. These changes split the following classes in to their own files in order to match the WordPress PHP coding standards:

  • WP_Block_Parser_Block
  • WP_Block_Parser_Frame
  • WP_Block_Parser

These classes were previously all included in the src/wp-includes/class-wp-block-parser.php file. In order to maintain backward compatibly for developers requiring the file directly, the relocated classes are replaced with require_once calls in the original file.

In order to retain the commit history of the new files, they have been created using the svn copy command.

Props aristath, rajanpanchal2028, jrf, SergeyBiryukov, costdev, manfcarlo, spacedmonkey, mukesh27, isabel_brison, dd32.
Fixes #57832.
See #58623.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r56046 r56048  
    319319require ABSPATH . WPINC . '/class-wp-block.php';
    320320require ABSPATH . WPINC . '/class-wp-block-list.php';
     321require ABSPATH . WPINC . '/class-wp-block-parser-block.php';
     322require ABSPATH . WPINC . '/class-wp-block-parser-frame.php';
    321323require ABSPATH . WPINC . '/class-wp-block-parser.php';
    322324require ABSPATH . WPINC . '/blocks.php';
Note: See TracChangeset for help on using the changeset viewer.