Fix esc_html error in footer pattern (https://github.com/woocommerce/woocommerce-blocks/pull/9704)
This commit is contained in:
parent
5f307e1097
commit
ebffcf3031
|
@ -56,11 +56,16 @@
|
||||||
|
|
||||||
<!-- wp:paragraph {"align":"right","style":{"typography":{"fontSize":"12px"}}} -->
|
<!-- wp:paragraph {"align":"right","style":{"typography":{"fontSize":"12px"}}} -->
|
||||||
<p class="has-text-align-right" style="font-size:12px">
|
<p class="has-text-align-right" style="font-size:12px">
|
||||||
<?php echo sprintf(
|
<?php
|
||||||
__( 'Powered by %s with %s', 'woo-gutenberg-products-block' ),
|
echo sprintf(
|
||||||
'<a href="https://wordpress.org">WordPress</a>',
|
esc_html(
|
||||||
'<a href="https://woocommerce.com">WooCommerce</a>'
|
/* translators: Footer powered by text. %1$s being WordPress, %2$s being WooCommerce */
|
||||||
) ?>
|
__( 'Powered by %1$s with %2$s', 'woo-gutenberg-products-block' )
|
||||||
|
),
|
||||||
|
'<a href="https://wordpress.org">WordPress</a>',
|
||||||
|
'<a href="https://woocommerce.com">WooCommerce</a>'
|
||||||
|
);
|
||||||
|
?>
|
||||||
</p>
|
</p>
|
||||||
<!-- /wp:paragraph -->
|
<!-- /wp:paragraph -->
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue