Fix logout endpoint

This commit is contained in:
Mike Jolley 2015-01-06 14:07:26 +00:00
parent 06ab96f39e
commit ca3d3f7f33
1 changed files with 1 additions and 1 deletions

View File

@ -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' ),