mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
use printf instead of echo
This commit is contained in:
parent
019b77e5b1
commit
af492f57ac
1 changed files with 4 additions and 3 deletions
|
@ -75,9 +75,10 @@ class OrderTablePaymentStatusColumn
|
|||
|
||||
private function renderCompletedStatus()
|
||||
{
|
||||
echo '<span class="dashicons dashicons-yes">
|
||||
<span class="screen-reader-text">' . esc_html__('Payment captured', 'woocommerce-paypal-commerce-gateway') . '</span>
|
||||
</span>';
|
||||
printf(
|
||||
'<span class="dashicons dashicons-yes"><span class="screen-reader-text">%s</span></span>',
|
||||
esc_html__('Payment captured', 'woocommerce-paypal-commerce-gateway')
|
||||
);
|
||||
}
|
||||
|
||||
private function renderIncompletedStatus()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue