From e9c6c06a81e33489dec0f5843f290afba2ed75b1 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Wed, 31 Jul 2019 20:34:11 -0300 Subject: [PATCH] Use default redirect page --- templates/myaccount/dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/myaccount/dashboard.php b/templates/myaccount/dashboard.php index 07db6dc09eb..ab34381335a 100644 --- a/templates/myaccount/dashboard.php +++ b/templates/myaccount/dashboard.php @@ -23,11 +23,11 @@ if ( ! defined( 'ABSPATH' ) ) { ?>

Log out)', 'woocommerce' ), '' . esc_html( $current_user->display_name ) . '', - esc_url( wc_logout_url( wc_get_page_permalink( 'myaccount' ) ) ) + esc_url( wc_logout_url() ) ); ?>