diff --git a/templates/content-product.php b/templates/content-product.php index 9c6bd19a8f1..43093ebfecf 100644 --- a/templates/content-product.php +++ b/templates/content-product.php @@ -41,10 +41,10 @@ $woocommerce_loop['loop']++; // Extra post classes $classes = array(); -if ( 0 == ( $woocommerce_loop['loop'] - 1 ) % $woocommerce_loop['columns'] || 1 == $woocommerce_loop['columns'] ) { +if ( 0 === ( $woocommerce_loop['loop'] - 1 ) % $woocommerce_loop['columns'] || 1 === $woocommerce_loop['columns'] ) { $classes[] = 'first'; } -if ( 0 == $woocommerce_loop['loop'] % $woocommerce_loop['columns'] ) { +if ( 0 === $woocommerce_loop['loop'] % $woocommerce_loop['columns'] ) { $classes[] = 'last'; } ?> diff --git a/templates/loop/result-count.php b/templates/loop/result-count.php index 7761712c260..fae7957b769 100644 --- a/templates/loop/result-count.php +++ b/templates/loop/result-count.php @@ -34,9 +34,9 @@ if ( ! woocommerce_products_will_display() ) $first = ( $per_page * $paged ) - $per_page + 1; $last = min( $total, $wp_query->get( 'posts_per_page' ) * $paged ); - if ( 1 == $total ) { + if ( 1 === $total ) { _e( 'Showing the single result', 'woocommerce' ); - } elseif ( $total <= $per_page || -1 == $per_page ) { + } elseif ( $total <= $per_page || -1 === $per_page ) { printf( __( 'Showing all %d results', 'woocommerce' ), $total ); } else { printf( _x( 'Showing %1$d–%2$d of %3$d results', '%1$d = first, %2$d = last, %3$d = total', 'woocommerce' ), $first, $last, $total ); diff --git a/templates/myaccount/form-lost-password.php b/templates/myaccount/form-lost-password.php index 6e943eb714c..ad5016e4dc0 100644 --- a/templates/myaccount/form-lost-password.php +++ b/templates/myaccount/form-lost-password.php @@ -25,7 +25,7 @@ if ( ! defined( 'ABSPATH' ) ) {
- +

@@ -55,7 +55,7 @@ if ( ! defined( 'ABSPATH' ) ) {

- +