Merge pull request #8574 from vicky081/patch-7

get_permalink to wc_get_page_permalink Updated
This commit is contained in:
Claudio Sanches 2015-07-14 11:20:33 -03:00
commit 26a34a2587
1 changed files with 1 additions and 1 deletions

View File

@ -19,4 +19,4 @@ if ( ! defined( 'ABSPATH' ) ) {
<?php do_action( 'woocommerce_cart_has_errors' ); ?> <?php do_action( 'woocommerce_cart_has_errors' ); ?>
<p><a class="button wc-backward" href="<?php echo get_permalink(wc_get_page_id( 'cart' ) ); ?>"><?php _e( 'Return To Cart', 'woocommerce' ) ?></a></p> <p><a class="button wc-backward" href="<?php echo wc_get_page_permalink( 'cart' ); ?>"><?php _e( 'Return To Cart', 'woocommerce' ) ?></a></p>