WordPress.org

Support

Support » Requests and Feedback » [Plugin: Admin SSL] Redirect bug

[Plugin: Admin SSL] Redirect bug

  • I’m using Admin SSL 1.4.1 with WordPress 2.7.1.
    With non-standard authentication plugin and my private SSL environment, the redirection and the account information become strange.
    The PHP log says:

    PHP Notice: Use of undefined constant COOKIE_PATH – assumed ‘COOKIE_PATH’ in /path/to/wordpress/wp-content/plugins/admin-ssl-secure-admin/includes/cookies.php on line 31

    I try to fix this bug with the following patch:

    --- cookies.php.orig	2009-02-17 20:37:14.000000000 +0900
    +++ cookies.php	2009-05-03 17:23:40.000000000 +0900
    @@ -28,7 +28,7 @@
     			$url = parse_url($shared_url);
     			return(rtrim($url["path"],"/")."/");
     		}
    -		else return(COOKIE_PATH);
    +		else return(ADMIN_COOKIE_PATH);
     	}
    
     //

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Admin SSL] Redirect bug’ is closed to new replies.
Skip to toolbar