mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-13 01:25:01 +08:00
Fixed: PHP error
This commit is contained in:
parent
98857bcd35
commit
66bc169e38
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue