Fixed use of esc_html() and bumped the template version

Also fixed some coding standards
This commit is contained in:
Claudio Sanches 2020-07-01 17:39:49 -03:00 committed by GitHub
parent 995cedbcfe
commit bdf996eec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -11,8 +11,8 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @package WooCommerce/Templates
* @version 1.6.4
* @package WooCommerce\Templates
* @version 4.4.0
*/
if ( ! defined( 'ABSPATH' ) ) {
@ -21,5 +21,5 @@ if ( ! defined( 'ABSPATH' ) ) {
?>
<h1 class="product_title entry-title">
<?php esc_html_e( get_the_title() ); ?>
<?php echo esc_html( get_the_title() ); ?>
</h1>