Skip to content

Commit

Permalink
Require files for back-compat in WordPress releases. (WordPress#51670)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc authored and sethrubenstein committed Jul 13, 2023
1 parent 3111bd9 commit c1fde6a
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -397,3 +397,17 @@ public function add_block_from_stack( $end_offset = null ) {
$this->output[] = (array) $stack_top->block;
}
}

/**
* WP_Block_Parser_Block class.
*
* Required for backward compatibility in WordPress Core.
*/
require_once __DIR__ . '/class-wp-block-parser-block.php';

/**
* WP_Block_Parser_Frame class.
*
* Required for backward compatibility in WordPress Core.
*/
require_once __DIR__ . '/class-wp-block-parser-frame.php';

0 comments on commit c1fde6a

Please sign in to comment.