WP customize nonce
A WordPress plugin which allows you to customize the nonce generation and validation.
by Riccardo Oliva <riccardo91.oliva@gmail.com> · github.com/riccardooliva91/wp-customize-nonce
★ 1stars
6.3kcomposer installs
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/riccardooliva91/wp-customize-nonce/archive/refs/heads/master.zipAlso on Packagist as riccardooliva91/wp-customize-nonce:
composer require riccardooliva91/wp-customize-nonceFrom the readme
WP Customize Nonce
A WordPress plugin which allows you to customize the nonce generation and validation, sticking close to the original structure defined
in the core.
This plugin replaces the pluggable functions wpcreatenonce and wpverifynonce, and it is completely configurable
by defining constants. Read more for details.
Requirements
- PHP: = 7.1;
- WP: = 4.0.0
Installation
Right now it is not available in the official WP plugins repository.
At the current stage the preferred method to install this plugin is via Composer:
If you are using some WP boilerplate (such as Bedrock) you should launch this command in
your root folder, and the autoloader will do the rest. In case you are cloning this repository manually instead, be sure
to make Composer generate the autoloader for you in the plugin's folder:
Configuration
This plugin's functionalities are entirely managed by defining constants.
The two main "chunks" of the nonces you'll get to customize are the UID and the session token, both of which have
their own sets of constants. The preferred location to define them is the wp-config.php file.
Generation strategy
The WCNUIDMETHOD and WCNTOKENMETHOD define the generation s
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 1.0.0 | Apr 16, 2021 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.