mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix oxxo default title/description
This commit is contained in:
parent
1049fda586
commit
f88c182737
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ class OXXOGateway extends WC_Payment_Gateway {
|
|||
$this->method_title = __( 'OXXO', 'woocommerce-paypal-payments' );
|
||||
$this->method_description = __( 'OXXO is a Mexican chain of convenience stores.', 'woocommerce-paypal-payments' );
|
||||
|
||||
$this->title = $this->get_option( 'title' ) ?? $this->method_title;
|
||||
$this->description = $this->get_option( 'description' ) ?? __( 'OXXO allows you to pay bills and online purchases in-store with cash.', 'woocommerce-paypal-payments' );
|
||||
$this->title = $this->get_option( 'title', $this->method_title );
|
||||
$this->description = $this->get_option( 'description', __( 'OXXO allows you to pay bills and online purchases in-store with cash.', 'woocommerce-paypal-payments' ) );
|
||||
|
||||
$this->init_form_fields();
|
||||
$this->init_settings();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue