mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
do not depend on title for rendering connect message.
This commit is contained in:
parent
3a4b942663
commit
0c2de24f37
1 changed files with 1 additions and 2 deletions
|
@ -29,10 +29,9 @@ class ConnectAdminNotice
|
|||
$message = sprintf(
|
||||
/* translators: %1$s the gateway name */
|
||||
__(
|
||||
'%1$s is almost ready. To get started, <a href="%2$s">connect your account</a>.',
|
||||
'PayPal Payments is almost ready. To get started, <a href="%2$s">connect your account</a>.',
|
||||
'woocommerce-paypal-commerce-gateway'
|
||||
),
|
||||
$this->settings->has('title') ? $this->settings->get('title') : '',
|
||||
// TODO: find a better way to get the url
|
||||
admin_url('admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway')
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue