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 @@ -951,7 +951,6 @@ public function download_wp( $subdir = '' ) {
951951 if ( 'sqlite ' === self ::$ db_type ) {
952952 self ::copy_dir ( self ::$ sqlite_cache_dir , $ dest_dir . '/wp-content/plugins ' );
953953 self ::configure_sqlite ( $ dest_dir );
954-
955954 }
956955 }
957956
@@ -1012,10 +1011,11 @@ public function install_wp( $subdir = '' ) {
10121011 'skip-email ' => true ,
10131012 ];
10141013
1014+ $ run_dir = '' !== $ subdir ? ( $ this ->variables ['RUN_DIR ' ] . "/ $ subdir " ) : $ this ->variables ['RUN_DIR ' ];
10151015 $ install_cache_path = '' ;
1016+
10161017 if ( self ::$ install_cache_dir ) {
10171018 $ install_cache_path = self ::$ install_cache_dir . '/install_ ' . md5 ( implode ( ': ' , $ install_args ) . ':subdir= ' . $ subdir );
1018- $ run_dir = '' !== $ subdir ? ( $ this ->variables ['RUN_DIR ' ] . "/ $ subdir " ) : $ this ->variables ['RUN_DIR ' ];
10191019 }
10201020
10211021 if ( $ install_cache_path && file_exists ( $ install_cache_path ) ) {
You can’t perform that action at this time.
0 commit comments