diff --git a/wp-quick-install/index.php b/wp-quick-install/index.php index 89a0a9f..9bec9b3 100755 --- a/wp-quick-install/index.php +++ b/wp-quick-install/index.php @@ -476,7 +476,7 @@ if ( ! empty( $_POST['plugins'] ) ) { $plugins = explode( ";", $_POST['plugins'] ); - $plugins = array_map( 'trim' , $plugins ); + foreach($plugins as $k=>$v)$plugins[$k] = rtrim(trim($v),'/'); $plugins_dir = $directory . 'wp-content/plugins/'; foreach ( $plugins as $plugin ) {