You are attempting to log out of


You are attempting to log out of

Error when trying to logout from the main page/side menu.

So just find one line in your current theme files

<a href="<?php echo get_option('siteurl');
?>/wp-login.php?action=logout" title="Log out of this account">Log out</a>

and replaced these codes with

<a href="<?php echo wp_logout_url(get_permalink());
?>" title="Log out of this account">Log out</a>


source

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: