forked from mirror/_s
CS: fix up embedded PHP inconsistencies introduced in the mean time.
This commit is contained in:
parent
b26b6ebfa4
commit
ec877e48c3
|
@ -142,6 +142,7 @@ function _s_post_thumbnail() {
|
||||||
?>
|
?>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<?php endif; // End is_singular().
|
<?php
|
||||||
|
endif; // End is_singular().
|
||||||
}
|
}
|
||||||
endif;
|
endif;
|
||||||
|
|
|
@ -226,7 +226,7 @@ if ( ! function_exists( '_s_woocommerce_cart_link' ) ) {
|
||||||
?>
|
?>
|
||||||
<a class="cart-contents" href="<?php echo esc_url( wc_get_cart_url() ); ?>" title="<?php esc_attr_e( 'View your shopping cart', '_s' ); ?>">
|
<a class="cart-contents" href="<?php echo esc_url( wc_get_cart_url() ); ?>" title="<?php esc_attr_e( 'View your shopping cart', '_s' ); ?>">
|
||||||
<?php /* translators: number of items in the mini cart. */ ?>
|
<?php /* translators: number of items in the mini cart. */ ?>
|
||||||
<span class="amount"><?php echo wp_kses_data( WC()->cart->get_cart_subtotal() ); ?></span> <span class="count"><?php echo wp_kses_data( sprintf( _n( '%d item', '%d items', WC()->cart->get_cart_contents_count(), '_s' ), WC()->cart->get_cart_contents_count() ) );?></span>
|
<span class="amount"><?php echo wp_kses_data( WC()->cart->get_cart_subtotal() ); ?></span> <span class="count"><?php echo wp_kses_data( sprintf( _n( '%d item', '%d items', WC()->cart->get_cart_contents_count(), '_s' ), WC()->cart->get_cart_contents_count() ) ); ?></span>
|
||||||
</a>
|
</a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue