Merge pull request #6824 from tivnet/patch-5

wc_get_endpoint_url instead of wp_logout_url
This commit is contained in:
Claudio Sanches 2014-11-25 13:42:43 -02:00
commit 9d46c7c7be
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,
wp_logout_url( get_permalink( wc_get_page_id( 'myaccount' ) ) )
wc_get_endpoint_url( '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' ),