Issue 1950

This commit is contained in:
Ken Bass 2013-01-21 10:12:15 -05:00
parent c41d96dba1
commit 20bfaea36c
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ global $woocommerce;
$woocommerce->show_messages();
do_action( 'woocommerce_before_checkout_form' );
do_action( 'woocommerce_before_checkout_form', $checkout );
// If checkout registration is disabled and not logged in, the user cannot checkout
if ( ! $checkout->enable_signup && ! $checkout->enable_guest_checkout && ! is_user_logged_in() ) {
@ -56,4 +56,4 @@ $get_checkout_url = apply_filters( 'woocommerce_get_checkout_url', $woocommerce-
</form>
<?php do_action( 'woocommerce_after_checkout_form' ); ?>
<?php do_action( 'woocommerce_after_checkout_form', $checkout ); ?>