From 535e1c5b58ed4a235809596c0f534c5b4e8e0794 Mon Sep 17 00:00:00 2001 From: Jonathan Belcher Date: Mon, 15 Jan 2018 11:41:32 -0500 Subject: [PATCH 1/3] Updates Helper text to be correct --- 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 e7d092b86cd..7d6b6f1e4d1 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 be added as a collaborator.', 'woocommerce' ), 'https://docs.woocommerce.com/document/adding-collaborators/' ), + '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/adding-collaborators/' ), 'button_label' => __( 'Purchase', 'woocommerce' ), 'button_url' => $data['_product_url'], 'status' => 'expired', From dbb0f6f1efa6c4b52ef101b156f592d25680cbf6 Mon Sep 17 00:00:00 2001 From: Jonathan Belcher Date: Tue, 16 Jan 2018 14:35:30 -0500 Subject: [PATCH 2/3] Add links to Sharing and Transferring string --- 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 7d6b6f1e4d1..30dec1dc9c7 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/adding-collaborators/' ), + '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/adding-collaborators/' ), 'button_label' => __( 'Purchase', 'woocommerce' ), 'button_url' => $data['_product_url'], 'status' => 'expired', From 77578c55093d23a88d40a332addff1c71b41a3f4 Mon Sep 17 00:00:00 2001 From: Jonathan Belcher Date: Wed, 17 Jan 2018 10:35:43 -0500 Subject: [PATCH 3/3] Corrects string to use sprintf properly --- 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 30dec1dc9c7..ccf2dee001e 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/adding-collaborators/' ), + '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',