Merge pull request #17740 from woocommerce/fix/wizard-payment-escaping

Wizard: Fix escaping in payment description
This commit is contained in:
Mike Jolley 2017-11-17 11:47:59 +00:00 committed by GitHub
commit e9ba9736fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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' ) )
); ?>