dev-master
9999999-dev
GPL2
The Requires
- php >=5.3
The Development Requires
Wallogit.com
2017 © Pedro Peláez
Fix bugs on each versions of WordPress., (*2)
Create a composer.json in your plugin root or mu-plugins, (*3)
{
"require": {
"firegoby/wp-hotfix": "*"
}
}
Place the following code into your plugin., (*4)
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
Then:, (*5)
$ composer install
Clone this project., (*6)
$ git clone git@github.com:miya0001/wp-hotfix.git
Initialize the testing environment locally:, (*7)
(you'll need to already have mysql, svn and wget available), (*8)
$ bash bin/install-wp-tests.sh wordpress_test root '' localhost latest
Install phpunit., (*9)
$ composer install
The unit test files are in the tests/ directory., (*10)
To run the unit tests, just execute:, (*11)
$ phpunit
GPL2