Changeset 65409 for trunk/tests/phpunit/includes/bootstrap.php
- Timestamp:
- 11/12/2026 03:30:19 AM (104 minutes ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/includes/bootstrap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/bootstrap.php
r65385 r65409 251 251 252 252 /* 253 * Isolate uploads in a dedicated directory when running the core test suite only, 254 * so that plugins and themes using the test suite keep the default uploads location. 255 * 253 256 * Tests that cover the upload_path and upload_url_path options run in a separate process 254 257 * with WP_TESTS_SKIP_UPLOADS_CONSTANT set, as UPLOADS overrides those options. 255 258 */ 256 if ( ! defined( 'UPLOADS' ) && '1' !== getenv( 'WP_TESTS_SKIP_UPLOADS_CONSTANT' ) ) { 259 if ( 260 defined( 'WP_RUN_CORE_TESTS' ) && WP_RUN_CORE_TESTS 261 && ! defined( 'UPLOADS' ) 262 && '1' !== getenv( 'WP_TESTS_SKIP_UPLOADS_CONSTANT' ) 263 ) { 257 264 define( 'UPLOADS', 'wp-content/test-suite-uploads' ); 258 265
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)