From 8e58566d4b9e907a848bf2dfecf13b77521ea283 Mon Sep 17 00:00:00 2001 From: Alex Lykesas Date: Wed, 31 Jul 2024 15:32:14 +0300 Subject: [PATCH] Fix return code --- includes/class-woocommerce-filters.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-woocommerce-filters.php b/includes/class-woocommerce-filters.php index d14f9baa..185fae01 100644 --- a/includes/class-woocommerce-filters.php +++ b/includes/class-woocommerce-filters.php @@ -175,9 +175,9 @@ public static function get_reset_password_message( $message, $key, $user_login ) $wc_reset_email->reset_key = $key; $message = $wc_reset_email->style_inline( $wc_reset_email->get_content() ); return $message; - } else { - return $message; } + + return $message; } /**