Use default redirect page
This commit is contained in:
parent
d627a4bbb8
commit
e9c6c06a81
|
@ -23,11 +23,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<p><?php
|
<p><?php
|
||||||
/* translators: 1: user display name 2: logout url */
|
|
||||||
printf(
|
printf(
|
||||||
|
/* translators: 1: user display name 2: logout url */
|
||||||
__( 'Hello %1$s (not %1$s? <a href="%2$s">Log out</a>)', 'woocommerce' ),
|
__( 'Hello %1$s (not %1$s? <a href="%2$s">Log out</a>)', 'woocommerce' ),
|
||||||
'<strong>' . esc_html( $current_user->display_name ) . '</strong>',
|
'<strong>' . esc_html( $current_user->display_name ) . '</strong>',
|
||||||
esc_url( wc_logout_url( wc_get_page_permalink( 'myaccount' ) ) )
|
esc_url( wc_logout_url() )
|
||||||
);
|
);
|
||||||
?></p>
|
?></p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue