2017 © Pedro Peláez
 

library wp-nonce

Class to use wp_nonce_*() functions in an object oriented way.

image

jeffarrubla/wp-nonce

Class to use wp_nonce_*() functions in an object oriented way.

  • Friday, February 23, 2018
  • by jeffarrubla
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

WPNonce

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)

Getting Started

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)

Prerequisites

Installing

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"
    }
} 

Running the tests

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

Deployment

Prerequisites

License

GPL2, (*9)

The Versions

23/02 2018

dev-master

9999999-dev

Class to use wp_nonce_*() functions in an object oriented way.

  Sources   Download

The Requires

  • php >=5.4

 

The Development Requires