Fixed use of esc_html() and bumped the template version
Also fixed some coding standards
This commit is contained in:
parent
995cedbcfe
commit
bdf996eec8
|
@ -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>
|
Loading…
Reference in New Issue