Fix logout endpoint
This commit is contained in:
parent
06ab96f39e
commit
ca3d3f7f33
|
@ -18,7 +18,7 @@ wc_print_notices(); ?>
|
|||
printf(
|
||||
__( 'Hello <strong>%1$s</strong> (not %1$s? <a href="%2$s">Sign out</a>).', 'woocommerce' ) . ' ',
|
||||
$current_user->display_name,
|
||||
wc_get_endpoint_url( 'logout', '', get_permalink( wc_get_page_id( 'myaccount' ) ) )
|
||||
wc_get_endpoint_url( 'customer-logout', '', get_permalink( wc_get_page_id( 'myaccount' ) ) )
|
||||
);
|
||||
|
||||
printf( __( 'From your account dashboard you can view your recent orders, manage your shipping and billing addresses and <a href="%s">edit your password and account details</a>.', 'woocommerce' ),
|
||||
|
|
Loading…
Reference in New Issue