Fixed use of esc_html() and bumped the template version
Also fixed some coding standards
This commit is contained in:
parent
995cedbcfe
commit
bdf996eec8
|
@ -10,9 +10,9 @@
|
||||||
* happen. When this occurs the version of the template file will be bumped and
|
* happen. When this occurs the version of the template file will be bumped and
|
||||||
* the readme will list any important changes.
|
* the readme will list any important changes.
|
||||||
*
|
*
|
||||||
* @see https://docs.woocommerce.com/document/template-structure/
|
* @see https://docs.woocommerce.com/document/template-structure/
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce\Templates
|
||||||
* @version 1.6.4
|
* @version 4.4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
@ -21,5 +21,5 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h1 class="product_title entry-title">
|
<h1 class="product_title entry-title">
|
||||||
<?php esc_html_e( get_the_title() ); ?>
|
<?php echo esc_html( get_the_title() ); ?>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
Loading…
Reference in New Issue