From 66bc169e38445de79a4647c66963253b8b3545d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogdan=20Rapai=C4=87?= Date: Thu, 23 Apr 2020 16:03:27 +0200 Subject: [PATCH] Fixed: PHP error --- class/class-mainwp-helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/class-mainwp-helper.php b/class/class-mainwp-helper.php index b619b48..e60fdbb 100644 --- a/class/class-mainwp-helper.php +++ b/class/class-mainwp-helper.php @@ -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;