Skip to content

Commit d4d3583

Browse files
committed
Add support to load early dependencies if vip flag is defined
1 parent 8bd838e commit d4d3583

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WordPress.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,7 @@ private function wp_download_and_config( $assoc_args ) {
11611161
}
11621162

11631163
if ( $this->is_vip ) {
1164+
$extra_php .= "\n\nif ( file_exists( ABSPATH . '/wp-content/mu-plugins/000-pre-vip-config/requires.php' ) ) {\n require_once( ABSPATH . '/wp-content/mu-plugins/000-pre-vip-config/requires.php' );\n}";
11641165
$extra_php .= "\n\nif ( file_exists( ABSPATH . '/wp-content/vip-config/vip-config.php' ) ) {\n require_once( ABSPATH . '/wp-content/vip-config/vip-config.php' );\n}";
11651166
}
11661167

0 commit comments

Comments
 (0)