You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't seen the details, so I don't know which one is better. if ( null === wp_unslash( $_REQUEST['_wpnonce'] ) || ! wp_verify_nonce( wp_unslash( $_REQUEST['_wpnonce'] ), self::$nonce_string ) ) {
or if ( null !== wp_unslash( $_REQUEST['_wpnonce'] ) && ! wp_verify_nonce( wp_unslash( $_REQUEST['_wpnonce'] ), self::$nonce_string ) ) {
or if ( ! isset( $_REQUEST['_wpnonce'] ) || ! wp_verify_nonce( wp_unslash( $_REQUEST['_wpnonce'] ), self::$nonce_string ) ) {
The text was updated successfully, but these errors were encountered:
Hello.I have been using addquicktag conveniently!
"Sorry, you failed the nonce test." error when saving items when using multisite.
What do you think this NONCE check will never pass?
addquicktag/inc/class-settings.php
Lines 682 to 684 in 3aa5536
I haven't seen the details, so I don't know which one is better.
if ( null === wp_unslash( $_REQUEST['_wpnonce'] ) || ! wp_verify_nonce( wp_unslash( $_REQUEST['_wpnonce'] ), self::$nonce_string ) ) {
or
if ( null !== wp_unslash( $_REQUEST['_wpnonce'] ) && ! wp_verify_nonce( wp_unslash( $_REQUEST['_wpnonce'] ), self::$nonce_string ) ) {
or
if ( ! isset( $_REQUEST['_wpnonce'] ) || ! wp_verify_nonce( wp_unslash( $_REQUEST['_wpnonce'] ), self::$nonce_string ) ) {
The text was updated successfully, but these errors were encountered: