Add more esc_html

Add esc_html;
Add @codingStandardsIgnoreLine;

Per new Woo template files;
This commit is contained in:
Unknown 2018-03-22 14:42:36 -06:00 committed by zachary
parent 0ee0b8a44f
commit b3e835b002
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ wc_print_notices(); ?>
<form method="post" class="woocommerce-ResetPassword lost_reset_password"> <form method="post" class="woocommerce-ResetPassword lost_reset_password">
<p><?php echo apply_filters( 'woocommerce_lost_password_message', __( 'Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.', 'understrap' ) ); ?></p> <p><?php echo apply_filters( 'woocommerce_lost_password_message', esc_html__( 'Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.', 'understrap' ) ); ?></p><?php // @codingStandardsIgnoreLine ?>
<p class="woocommerce-form-row woocommerce-form-row--first form-row form-row-first"> <p class="woocommerce-form-row woocommerce-form-row--first form-row form-row-first">
<label for="user_login"><?php esc_html_e( 'Username or email', 'understrap' ); ?></label> <label for="user_login"><?php esc_html_e( 'Username or email', 'understrap' ); ?></label>