WordPress.org

Ready to get started?Download WordPress

Forums

Tabbed Login Widget
[resolved] Logut to https (2 posts)

  1. Knut Sparhell
    Member
    Posted 1 year ago #

    Nice plugin, but it has a serious bug.

    When logging out you may be sent to a https version of the current URL. This is because of line 64 of tabbed-login.php. The global $_SERVER['https'] may also have the value "off". In that case the "s" must not be added.

    $current_url='http'.(empty($_SERVER['HTTPS']) || $_SERVER['HTTPS']=='off'?'':'s').'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];

    will help.

    When a user is sent to a non-existent https site it will hit the server, but not the correct site. The error message i the browser may look very nasty.

    http://wordpress.org/extend/plugins/tabbed-login/

  2. Vivek Marakana
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for helping...Will be updated in new version...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags