mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Improve phpcs comment
This commit is contained in:
parent
ca6f3dd088
commit
b98400c6ce
1 changed files with 1 additions and 5 deletions
|
@ -338,12 +338,8 @@ class PayUponInvoice {
|
|||
woocommerce_form_field(
|
||||
'billing_phone',
|
||||
array(
|
||||
/**
|
||||
* Use translation from WooCommerce here.
|
||||
* phpcs:disable WordPress.WP.I18n.TextDomainMismatch
|
||||
*/
|
||||
// phpcs:ignore WordPress.WP.I18n.TextDomainMismatch
|
||||
'label' => __( 'Phone', 'woocommerce' ),
|
||||
// phpcs:enable WordPress.WP.I18n.TextDomainMismatch
|
||||
'type' => 'tel',
|
||||
'class' => array( 'form-row-wide' ),
|
||||
'validate' => array( 'phone' ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue