Merge pull request #6824 from tivnet/patch-5
wc_get_endpoint_url instead of wp_logout_url
This commit is contained in:
commit
9d46c7c7be
|
@ -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' ),
|
||||
|
|
Loading…
Reference in New Issue