Merge pull request #18671 from shoheitanaka/patch-11
Fix : Argument swapping at sprintf
This commit is contained in:
commit
18b91a041d
|
@ -286,7 +286,7 @@ class WC_Helper {
|
||||||
$data['_actions'][] = $action;
|
$data['_actions'][] = $action;
|
||||||
} else {
|
} else {
|
||||||
$action = array(
|
$action = array(
|
||||||
'message' => sprintf( __( 'To receive updates and support for this extension, you need to <strong>purchase</strong> a new subscription or consolidate your extensions to one connected account by <strong><a href="%s" title="Sharing Docs">sharing</a> or <a href="%s" title="Transferring Docs">transferring</a></strong> 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 <strong>purchase</strong> a new subscription or consolidate your extensions to one connected account by <strong><a href="%1$s" title="Sharing Docs">sharing</a> or <a href="%2$s" title="Transferring Docs">transferring</a></strong> 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_label' => __( 'Purchase', 'woocommerce' ),
|
||||||
'button_url' => $data['_product_url'],
|
'button_url' => $data['_product_url'],
|
||||||
'status' => 'expired',
|
'status' => 'expired',
|
||||||
|
|
Loading…
Reference in New Issue