Fixed: PHP error

This commit is contained in:
Bogdan Rapaić 2020-04-23 16:03:27 +02:00 committed by GitHub
parent 98857bcd35
commit 66bc169e38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1124,7 +1124,7 @@ class MainWP_Helper {
$str = '';
$count = strlen( $charset );
while ( $length -- ) {
$str .= $charset[ wp_rand( 0, $count - 1 ) ];
$str .= $charset[ mt_rand( 0, $count - 1 ) ]; // phpcs:ignore
}

return $str;