From c73e38af333e2acc43b4ea1c7c24cb438e478519 Mon Sep 17 00:00:00 2001 From: joe9663 Date: Thu, 21 Apr 2022 12:56:03 -0400 Subject: [PATCH] updates random_password filter to match the 5.3.0 version --- src/Util/Pluggable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/Pluggable.php b/src/Util/Pluggable.php index 6c859cc..7dcbf69 100644 --- a/src/Util/Pluggable.php +++ b/src/Util/Pluggable.php @@ -148,6 +148,6 @@ function wp_generate_password( $length = 12, $special_chars = true, $extra_speci * * @param string $password The generated password. */ - return apply_filters( 'random_password', $password ); + return apply_filters( 'random_password', $password, $length, $special_chars, $extra_special_chars ); } endif;