[wp-cvs] wordpress/wp-admin auth.php,1.13,1.14
Michel Valdrighi
michelvaldrighi at users.sourceforge.net
Sun Oct 17 12:42:20 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9632
Modified Files:
auth.php
Log Message:
honey, your cookies are delicious, but not when they're empty
Index: auth.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/auth.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** auth.php 11 Oct 2004 07:00:21 -0000 1.13
--- auth.php 17 Oct 2004 12:42:18 -0000 1.14
***************
*** 2,6 ****
require_once('../wp-config.php');
! if ( !empty($_COOKIE['wordpressuser_' . COOKIEHASH]) && !wp_login($_COOKIE['wordpressuser_' . COOKIEHASH], $_COOKIE['wordpresspass_' . COOKIEHASH], true) ) {
header('Expires: Wed, 5 Jun 1979 23:41:00 GMT'); // Michel's birthday
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
--- 2,7 ----
require_once('../wp-config.php');
! if ( (!empty($_COOKIE['wordpressuser_' . COOKIEHASH]) && !wp_login($_COOKIE['wordpressuser_' . COOKIEHASH], $_COOKIE['wordpresspass_' . COOKIEHASH], true))
! || (empty($_COOKIE['wordpressuser_' . COOKIEHASH])) ) {
header('Expires: Wed, 5 Jun 1979 23:41:00 GMT'); // Michel's birthday
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
***************
*** 12,14 ****
}
! ?>
\ No newline at end of file
--- 13,15 ----
}
! ?>
More information about the cvs
mailing list