Remove "if"
Add "@codingStandardsIgnoreLine; Per new Woo template files.
This commit is contained in:
parent
e254b1400f
commit
183dce2744
|
@ -29,7 +29,7 @@ if ( is_user_logged_in() ) {
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_login_form_start' ); ?>
|
<?php do_action( 'woocommerce_login_form_start' ); ?>
|
||||||
|
|
||||||
<?php if ( $message ) echo wpautop( wptexturize( $message ) ); ?>
|
<?php echo ( $message ) ? wpautop( wptexturize( $message ) ) : ''; // @codingStandardsIgnoreLine ?>
|
||||||
|
|
||||||
<p class="form-row form-row-first">
|
<p class="form-row form-row-first">
|
||||||
<label for="username"><?php esc_html_e( 'Username or email', 'understrap' ); ?> <span class="required">*</span></label>
|
<label for="username"><?php esc_html_e( 'Username or email', 'understrap' ); ?> <span class="required">*</span></label>
|
||||||
|
|
Reference in New Issue