Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Confirm logout going to page 404

$
0
0

Replies: 0

Hello,
I have a problem on my account logout page. When confirming disconnection, this takes me to a 404 page. I have already tried the codes to bypass the connection confirmation but it does not work. On my editor I find this code:

function wp_loginout( $redirect = '', $echo = true ) {
if (! is_user_logged_in() ) {
$link = '<a href="'.esc_url(wp_login_url($redirect))).'">'. __('Login') . '</a>';
} else {
$link = '<a href="'.esc_url(wp_logout_url($redirect))).'">'. __('Log out') . '</a>';
}

Maybe I can change the address here?

Thank you in advance for your help!


Viewing all articles
Browse latest Browse all 59525

Trending Articles