/vip-mu-plugins-public

The MU plugins directory for WordPress.com VIP Go next generation hosting platform

Primary LanguagePHP

VIP MU Plugins Build Status

This is the complete MU plugins folder for the WordPress.com VIP next generation hosting platform.

Tests

To run PHP linting locally on OSX or Unix/Linux (no setup required, beyond having PHP CLI installed):

cd /path/to/mu-plugins/
make lint

To set up PHPUnit locally (requires a working WordPress development environment, specifically PHP and MySQL):

Notes:

  • You need to replace the %placeholder% strings below with sensible values
  • You DO need an empty DB, because the contents of this DB WILL get trashed during testing
./bin/install-wp-tests.sh %empty_DB_name% %db_user% %db_name%

To run PHPUnit tests locally:

phpunit