根据法典。。本部分:
urlencode($_SERVER[\'REQUEST_URI\'])
is unneeded... if you just wan\'t to logout (粘贴自
wordpress codex)
<a href="<?php echo wp_logout_url(); ?>" title="Logout">Logout</a>
。
Logout and Redirect to Current Page
<a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>
Logout and Redirect to Homepage<a href="<?php echo wp_logout_url( home_url() ); ?>" title="Logout">Logout</a>
<希望这有帮助。。。应始终首先检查法典;)
有一个gr8天,
Sagive