Changes to comply with Composer check:cs.

This commit is contained in:
Dane Morgan 2021-07-02 03:35:31 -05:00
parent 9228f202d7
commit 80e78f23e9
8 changed files with 18 additions and 11 deletions

View File

@ -23,7 +23,7 @@ defined( 'ABSPATH' ) || exit;
do_action( 'woocommerce_cart_is_empty' );
if ( wc_get_page_id( 'shop' ) > 0 ) :
?>
?>
<p class="return-to-shop">
<a class="btn btn-outline-primary" href="<?php echo esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>">
<?php

View File

@ -48,11 +48,11 @@ if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_requir
<?php do_action( 'woocommerce_checkout_after_customer_details' ); ?>
<?php endif; ?>
<?php do_action( 'woocommerce_checkout_before_order_review_heading' ); ?>
<h3 id="order_review_heading"><?php esc_html_e( 'Your order', 'woocommerce' ); ?></h3>
<?php do_action( 'woocommerce_checkout_before_order_review' ); ?>
<div id="order_review" class="woocommerce-checkout-review-order">
@ -63,4 +63,5 @@ if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_requir
</form>
<?php do_action( 'woocommerce_after_checkout_form', $checkout );
<?php
do_action( 'woocommerce_after_checkout_form', $checkout );

View File

@ -43,4 +43,5 @@ do_action( 'woocommerce_before_account_downloads', $has_downloads ); ?>
</div>
<?php endif; ?>
<?php do_action( 'woocommerce_after_account_downloads', $has_downloads );
<?php
do_action( 'woocommerce_after_account_downloads', $has_downloads );

View File

@ -73,4 +73,5 @@ do_action( 'woocommerce_before_edit_account_form' ); ?>
<?php do_action( 'woocommerce_edit_account_form_end' ); ?>
</form>
<?php do_action( 'woocommerce_after_edit_account_form' );
<?php
do_action( 'woocommerce_after_edit_account_form' );

View File

@ -53,4 +53,5 @@ do_action( 'woocommerce_before_edit_account_address_form' ); ?>
<?php endif; ?>
<?php do_action( 'woocommerce_after_edit_account_address_form' );
<?php
do_action( 'woocommerce_after_edit_account_address_form' );

View File

@ -115,4 +115,5 @@ $col = 'yes' === get_option( 'woocommerce_enable_myaccount_registration' ) ? 6 :
</div>
<?php endif; ?>
<?php do_action( 'woocommerce_after_customer_login_form' );
<?php
do_action( 'woocommerce_after_customer_login_form' );

View File

@ -92,4 +92,5 @@ if ( $customer_orders ) : ?>
<?php endforeach; ?>
</tbody>
</table>
<?php endif;
<?php
endif;

View File

@ -104,4 +104,5 @@ do_action( 'woocommerce_before_account_orders', $has_orders ); ?>
</div>
<?php endif; ?>
<?php do_action( 'woocommerce_after_account_orders', $has_orders );
<?php
do_action( 'woocommerce_after_account_orders', $has_orders );