Merge pull request #8574 from vicky081/patch-7
get_permalink to wc_get_page_permalink Updated
This commit is contained in:
commit
26a34a2587
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue