GeekPress / WP-Quick-Install

WP Quick Install is the easiest way to install WordPress.
http://wp-quick-install.com
322 stars 172 forks source link

Make the plugins field use commas instead of semicolons #7

Closed attackant closed 10 years ago

attackant commented 10 years ago

The auto install plugins do not get read from the data.ini file because they are currently supposed to use semicolons to separate them - the problem appears to be the semicolons are used in the data file to create comments. So the plugins are not being installed.

You could fix this very easily by using commas instead in and changing line 469 in index.php from:

$plugins     = explode( ";", $_POST['plugins'] );

to

$plugins     = explode( ",", $_POST['plugins'] );
GeekPress commented 10 years ago

Hi,

In data.ini, you should use an array to insert plugins like this :

plugins[] = wordpress-seo plugins[] = rocket-lazy-load

attackant commented 10 years ago

Ok I will try that. Thank you!!