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() ) ); ?>