We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
you have those lines in the function user_profile_field_save:
user_profile_field_save
if ( !isset( $_POST['ja_disable_user'] ) ) { $disabled = 0; } else { $disabled = $_POST['ja_disable_user']; } update_user_meta( $user_id, 'ja_disable_user', $disabled );
This writes the contents of $_POST['ja_disable_user'] directly to the database. You should avoid this and rather change the else block to
$_POST['ja_disable_user']
else
} else { $disabled = 1; }
The text was updated successfully, but these errors were encountered:
Yep, you are definitely right. I'll try to push an update out for this when I get time. Thanks for reporting.
Sorry, something went wrong.
Init commit
bedd022
Successfully merging a pull request may close this issue.
Hi,
you have those lines in the function
user_profile_field_save
:This writes the contents of
$_POST['ja_disable_user']
directly to the database. You should avoid this and rather change theelse
block toThe text was updated successfully, but these errors were encountered: