mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-15 12:43:33 +09:00
Remove nonce and http referer from submitted user details
This commit is contained in:
@@ -364,7 +364,7 @@ function um_user_ip() {
|
||||
$v = um_user_uploads_uri() . $file;
|
||||
}
|
||||
|
||||
if ( !strstr( $k, 'user_pass' ) && $k != 'g-recaptcha-response' && $k != 'request' ) {
|
||||
if ( !strstr( $k, 'user_pass' ) && ! in_array( $k, array('g-recaptcha-response','request','_wpnonce','_wp_http_referer') ) ) {
|
||||
|
||||
if ( is_array($v) ) {
|
||||
$v = implode(',', $v );
|
||||
|
||||
Reference in New Issue
Block a user