Wizard: Fix escaping in payment description

This commit is contained in:
Valerie 2017-11-16 11:29:21 -05:00
parent 800877cb79
commit e9985146d5
1 changed files with 8 additions and 2 deletions

View File

@ -1265,8 +1265,14 @@ class WC_Admin_Setup_Wizard {
<form method="post" class="wc-wizard-payment-gateway-form">
<p>
<?php printf(
esc_html__(
'WooCommerce can accept both online and offline payments. <a href="%1$s" target="_blank">Additional payment methods</a> can be installed later.', 'woocommerce'
wp_kses(
__( 'WooCommerce can accept both online and offline payments. <a href="%1$s" target="_blank">Additional payment methods</a> can be installed later.', 'woocommerce' ),
array(
'a' => array(
'href' => array(),
'target' => array(),
),
)
),
esc_url( admin_url( 'admin.php?page=wc-addons&view=payment-gateways' ) )
); ?>