File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -939,10 +939,10 @@ public function install_wp_with_composer( $vendor_directory = 'vendor' ) {
939939 $ this ->composer_command ( 'init --name="wp-cli/composer-test" --type="project" ' );
940940 $ this ->composer_command ( 'config vendor-dir ' . $ vendor_directory );
941941 $ this ->composer_command ( 'config extra.wordpress-install-dir WordPress ' );
942- $ this ->composer_command ( 'require johnpbloch/wordpress-core-installer johnpbloch/wordpress-core --optimize-autoloader ' );
943942
944943 // Allow for all Composer plugins to run to avoid warnings.
945- $ this ->composer_command ( 'config allow-plugins true ' );
944+ $ this ->composer_command ( 'config --no-plugins allow-plugins true ' );
945+ $ this ->composer_command ( 'require johnpbloch/wordpress-core-installer johnpbloch/wordpress-core --optimize-autoloader ' );
946946
947947 // Disable WP Cron by default to avoid bogus HTTP requests in CLI context.
948948 $ config_extra_php = "if ( ! defined( 'DISABLE_WP_CRON' ) ) { define( 'DISABLE_WP_CRON', true ); } \n" ;
You can’t perform that action at this time.
0 commit comments