开发者 |
mdawaffe
automattic |
---|---|
更新时间 | 2014年9月6日 03:51 |
PHP版本: | 3.0 及以上 |
WordPress版本: | 3.4 |
wp_rand()
to return a value outside the requested range. That unexpected value in turn breaks wp_generate_password()
, which can have security ramifications.
Of particular note to this plugin's authors, the bug prevents Jetpack from functioning.
This plugin works around the bug by redefining the pluggable wp_rand()
function. In the redefinition, large integers are expressed as strings and cast to floats, rather than as ints.