diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index 8081f9e62c..2a93f91325 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -2359,7 +2359,7 @@ if ( ! function_exists( 'wp_create_nonce' ) ) : $uid = apply_filters( 'nonce_user_logged_out', $uid, $action ); } - $token = wp_get_session_token( $action ); + $token = wp_get_session_token(); $i = wp_nonce_tick( $action ); return substr( wp_hash( $i . '|' . $action . '|' . $uid . '|' . $token, 'nonce' ), -12, 10 );