Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 905 Bytes

README-PUBLIC.md

File metadata and controls

31 lines (20 loc) · 905 Bytes

VIP MU Plugins

This is the complete MU plugins folder for the WordPress.com VIP next generation hosting platform, assembled without submodules for convenience.

If you wish to issue a pull request for code here, please do so on Automattic/vip-go-mu-plugins.

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