mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
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:
parent
7163f9fd3e
commit
e26b369fb2
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user