From d7bac6313c06a3872a21231ff5ede8937f5c030e Mon Sep 17 00:00:00 2001 From: vedanshujain Date: Mon, 13 Jan 2020 18:56:02 +0530 Subject: [PATCH] Add suffix "Insecure" to indicate that this method is insecure --- includes/admin/settings/class-wc-settings-products.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/settings/class-wc-settings-products.php b/includes/admin/settings/class-wc-settings-products.php index 48b2b796a9d..78a6a8331f9 100644 --- a/includes/admin/settings/class-wc-settings-products.php +++ b/includes/admin/settings/class-wc-settings-products.php @@ -234,7 +234,7 @@ class WC_Settings_Products extends WC_Settings_Page { 'options' => array( 'force' => __( 'Force downloads', 'woocommerce' ), 'xsendfile' => __( 'X-Accel-Redirect/X-Sendfile', 'woocommerce' ), - 'redirect' => __( 'Redirect only', 'woocommerce' ), + 'redirect' => __( 'Redirect only', 'woocommerce' ) . apply_filters( 'woocommerce_redirect_only_method_suffix', __( ' (Insecure)', 'woocommerce' ) ), ), 'autoload' => false, ),