firegoby / wp-hotfix
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Language:Shell
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2024-12-21 19:16:15 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