From e1e541a1b331f267a2d7ddbcc53c18d6277964da Mon Sep 17 00:00:00 2001 From: costdev Date: Tue, 19 Sep 2023 16:43:19 +0000 Subject: [PATCH] Build/Test Tools: Add `sys_get_temp_dir()` to `open_basedir` tests. In PHPUnit 10.3.5, 9.6.13 and 8.5.34, the child processes used for process isolation now use temporary files to communicate their result to the parent process. This caused a failure in some tests that set the `open_basedir` PHP directive to a value that did not include `sys_get_temp_dir()`. This adds `sys_get_temp_dir()` to the `open_basedir` value set by the tests to ensure that permission is still granted for the temporary directory. PHPUnit uses `sys_get_temp_dir()`. To ensure the result is the same, Core's `get_temp_dir()` function is not used. References: - https://github.com/sebastianbergmann/phpunit/issues/5356 Props desrosj, mukesh27, SergeyBiryukov, costdev. Fixes #59394. Built from https://develop.svn.wordpress.org/trunk@56622 git-svn-id: http://core.svn.wordpress.org/trunk@56134 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 31c68fda7b..733b015723 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56621'; +$wp_version = '6.4-alpha-56622'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.