Use default redirect page

This commit is contained in:
Claudio Sanches 2019-07-31 20:34:11 -03:00
parent d627a4bbb8
commit e9c6c06a81
1 changed files with 2 additions and 2 deletions

View File

@ -23,11 +23,11 @@ if ( ! defined( 'ABSPATH' ) ) {
?>
<p><?php
/* translators: 1: user display name 2: logout url */
printf(
/* translators: 1: user display name 2: logout url */
__( 'Hello %1$s (not %1$s? <a href="%2$s">Log out</a>)', 'woocommerce' ),
'<strong>' . esc_html( $current_user->display_name ) . '</strong>',
esc_url( wc_logout_url( wc_get_page_permalink( 'myaccount' ) ) )
esc_url( wc_logout_url() )
);
?></p>