Tests: Add unit tests for the wp_nonce_ays() function.

Update the `wp_die_handler()` method to pass the response into `WPDieException` so that `expectExceptionCode()` calls work as expected.

Follow-up to [1221/tests], [3934], [4009], [12309].

Props pbearne, jrf, mukesh27.
Fixes #53882.
Built from https://develop.svn.wordpress.org/trunk@51608


git-svn-id: http://core.svn.wordpress.org/trunk@51219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-08-13 14:02:02 +00:00
parent a2a8b77806
commit e68985e506

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-51607';
$wp_version = '5.9-alpha-51608';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.