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
wordpress-theme-puock/inc/php-captcha.php
Line 309 in 3e62a99
The text was updated successfully, but these errors were encountered:
✨ 优化验证码多次可能500的错误及结构 #266
02f2f65
No branches or pull requests
wordpress-theme-puock/inc/php-captcha.php
Line 309 in 3e62a99
多次刷新验证码,可能出现500错误,原因是$red, $green, $blue三个参数可能超出255。
可按以下修改解决。
$red = abs(min(255,abs($red - $increase)));
$green = abs(min(255,abs($green - $increase)));
$blue = abs(min(255,abs($blue - $increase)));
The text was updated successfully, but these errors were encountered: