PHPCS fixes
This commit is contained in:
parent
e74f0acc19
commit
94f64f3851
|
@ -910,7 +910,7 @@ if ( ! function_exists( 'woocommerce_content' ) ) {
|
|||
|
||||
<?php do_action( 'woocommerce_no_products_found' ); ?>
|
||||
|
||||
<?php
|
||||
<?php
|
||||
endif;
|
||||
|
||||
}
|
||||
|
@ -1066,7 +1066,7 @@ if ( ! function_exists( 'woocommerce_template_loop_product_title' ) ) {
|
|||
* Show the product title in the product loop. By default this is an H2.
|
||||
*/
|
||||
function woocommerce_template_loop_product_title() {
|
||||
echo '<h2 class="woocommerce-loop-product__title">' . get_the_title() . '</h2>';
|
||||
echo '<h2 class="woocommerce-loop-product__title">' . esc_html( get_the_title() ) . '</h2>';
|
||||
}
|
||||
}
|
||||
if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {
|
||||
|
|
Loading…
Reference in New Issue