Change how filter is implemented to help both 3PD and translators
This commit is contained in:
parent
707a9bf9a0
commit
ee0e94e909
|
@ -234,7 +234,7 @@ class WC_Settings_Products extends WC_Settings_Page {
|
||||||
'options' => array(
|
'options' => array(
|
||||||
'force' => __( 'Force downloads', 'woocommerce' ),
|
'force' => __( 'Force downloads', 'woocommerce' ),
|
||||||
'xsendfile' => __( 'X-Accel-Redirect/X-Sendfile', 'woocommerce' ),
|
'xsendfile' => __( 'X-Accel-Redirect/X-Sendfile', 'woocommerce' ),
|
||||||
'redirect' => apply_filters( 'woocommerce_redirect_only_method_name', __( 'Redirect only (Insecure)', 'woocommerce' ) ),
|
'redirect' => apply_filters( 'woocommerce_redirect_only_method_is_secure', false ) ? __( 'Redirect only', 'woocommerce' ) : __( 'Redirect only (Insecure)', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
'autoload' => false,
|
'autoload' => false,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue