bobbingwide / oik-batch

Batch interface to WordPress
https://www.oik-plugins.com/oik-plugins/oik-batch
GNU General Public License v2.0
0 stars 0 forks source link

Support WordPress MultiSite installations #6

Closed bobbingwide closed 8 years ago

bobbingwide commented 8 years ago

Running oik-wp against a local WordPress MultiSite installation produces messages and Fatals in ms-settings.php.

We need to be able to

  1. Run oik-wp against a MultiSite installation
  2. Choose the initial domain to run against
  3. Cater for both sub-domain and sub-directory installs.

Much like WP-CLI I imagine.

bobbingwide commented 8 years ago

The changes developed so far have been tested on sub-domain installs. We need to confirm that the solution works for sub-directory installs.

bobbingwide commented 8 years ago

The logic does need some enhancement to work with WPMS subdirectory installs.

Proposed solution

In addition to the url= parameter also pass a path= parameter.

bobbingwide commented 8 years ago

WIBNI: in a sub-directory install, if you forget to pass the url and path parameters that you get told you're doing it wrong in a nice friendly message.