We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 279794b + 06c2b56 commit 0841825Copy full SHA for 0841825
php/wp-cli.php
@@ -26,7 +26,10 @@
26
require_once WP_CLI_ROOT . '/php/bootstrap.php';
27
28
if ( getenv( 'WP_CLI_EARLY_REQUIRE' ) ) {
29
- require_once getenv( 'WP_CLI_EARLY_REQUIRE' );
+ foreach ( explode( ',', getenv( 'WP_CLI_EARLY_REQUIRE' ) ) as $wp_cli_early_require ) {
30
+ require_once trim( $wp_cli_early_require );
31
+ }
32
+ unset( $wp_cli_early_require );
33
}
34
35
WP_CLI\bootstrap();
0 commit comments