From 78e41d225a33eb7b74ae838b2d5032061656aacb Mon Sep 17 00:00:00 2001 From: Shohei Tanaka Date: Wed, 31 Jan 2018 05:50:56 +0900 Subject: [PATCH] Fix : Argument swapping at sprintf change the arguments from %s to %1$s and %2$s. --- includes/admin/helper/class-wc-helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/helper/class-wc-helper.php b/includes/admin/helper/class-wc-helper.php index 075e456ac23..ddb37ab792e 100644 --- a/includes/admin/helper/class-wc-helper.php +++ b/includes/admin/helper/class-wc-helper.php @@ -286,7 +286,7 @@ class WC_Helper { $data['_actions'][] = $action; } else { $action = array( - 'message' => sprintf( __( 'To receive updates and support for this extension, you need to purchase a new subscription or consolidate your extensions to one connected account by sharing or transferring this extension to this connected account.', 'woocommerce' ), 'https://docs.woocommerce.com/document/managing-woocommerce-com-subscriptions/#section-10', 'https://docs.woocommerce.com/document/managing-woocommerce-com-subscriptions/#section-5' ), + 'message' => sprintf( __( 'To receive updates and support for this extension, you need to purchase a new subscription or consolidate your extensions to one connected account by sharing or transferring this extension to this connected account.', 'woocommerce' ), 'https://docs.woocommerce.com/document/managing-woocommerce-com-subscriptions/#section-10', 'https://docs.woocommerce.com/document/managing-woocommerce-com-subscriptions/#section-5' ), 'button_label' => __( 'Purchase', 'woocommerce' ), 'button_url' => $data['_product_url'], 'status' => 'expired',