From efdf76634b079282000c1e0cb6183ef440ceec39 Mon Sep 17 00:00:00 2001 From: roykho Date: Fri, 12 Mar 2021 11:59:18 -0800 Subject: [PATCH] Fix docblock defaults to false closes #29367 --- includes/emails/class-wc-email-new-order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/emails/class-wc-email-new-order.php b/includes/emails/class-wc-email-new-order.php index 9cc757495e3..f4b2f383d5f 100644 --- a/includes/emails/class-wc-email-new-order.php +++ b/includes/emails/class-wc-email-new-order.php @@ -100,7 +100,7 @@ if ( ! class_exists( 'WC_Email_New_Order' ) ) : * Controls if new order emails can be resend multiple times. * * @since 5.0.0 - * @param bool $allows Defaults to true. + * @param bool $allows Defaults to false. */ if ( 'true' === $email_already_sent && ! apply_filters( 'woocommerce_new_order_email_allows_resend', false ) ) { return;