firegoby / wp-hotfix
0.1.1
2015-09-08 19:45 UTC
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2026-03-15 02:04:37 UTC
README
Fix bugs on each versions of WordPress.
Installation
Create a composer.json in your plugin root or mu-plugins
{
"require": {
"firegoby/wp-hotfix": "*"
}
}
Place the following code into your plugin.
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
Then:
$ composer install
Contributing
Clone this project.
$ git clone git@github.com:miya0001/wp-hotfix.git
Run testing
Initialize the testing environment locally:
(you'll need to already have mysql, svn and wget available)
$ bash bin/install-wp-tests.sh wordpress_test root '' localhost latest
Install phpunit.
$ composer install
The unit test files are in the tests/ directory.
To run the unit tests, just execute:
$ phpunit