dev-master
9999999-devClass to use wp_nonce_*() functions in an object oriented way.
The Requires
- php >=5.4
The Development Requires
Wallogit.com
2017 © Pedro Peláez
Class to use wp_nonce_*() functions in an object oriented way.
Class to use wp_nonce_*() functions in an object oriented way., (*1)
These functions are: - wp_nonce_ays() - wp_nonce_field() - wp_nonce_url() - wp_verify_nonce() - wp_create_nonce() - check_admin_referer() - check_ajax_referer() - wp_referer_field(), (*2)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system., (*3)
Clone the project, (*4)
git clone https://github.com/jeffarrubla/wp_nonce.git
download the zip or using composer, (*5)
{
"require": {
"jeffarrubla/wp-nonce": "dev-master",
"php": ">=5.4"
}
}
To test that the wp_nonce_*() functions can be called from the class.
To test install using composer, it requires:, (*6)
To run the test do:, (*7)
phpunit --bootstrap tests/bootstrap.php tests/WPNonceTest
or, (*8)
phpunit --bootstrap tests/bootstrap.php tests/WPNonceTest --testdox
GPL2, (*9)
Class to use wp_nonce_*() functions in an object oriented way.