Build/Test Tools: Use require_once instead of require.
The `sync-stable-blocks.js` file is used to compile the contents of `require-dynamic-blocks.php`, which includes the PHP files required for dynamic Core blocks. Since these files define PHP functions, `require_once` should be used instead of `require` to guard against fatal errors. Follow up to [53688]. Props aristath, SergeyBiryukov, desrosj. Fixes #56738. See #56179. Built from https://develop.svn.wordpress.org/trunk@54406 git-svn-id: http://core.svn.wordpress.org/trunk@53965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.1-beta3-54405';
|
||||
$wp_version = '6.1-beta3-54406';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user