CoreFiles by mySites.guru
auth.php15 lines, 616 bytes, from wordpress-1.2.2.zip
Raw History Compare with 1.2.1
md5
21b1e7ca3aefb85187f336b1826e1e27
sha1
87e5fbc291590e424d5ed1a93788eed8b8cf1bbf
sha256
ed57afe1d4ea08f6329677b2c6c62e40dd246136ed8dc604c4990f006ea932d7
<?php
require_once(ABSPATH . '/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');
	header('Cache-Control: no-cache, must-revalidate');
	header('Pragma: no-cache');

	header('Location: ' . get_settings('siteurl') . '/wp-login.php?redirect_to=' . urlencode($_SERVER['REQUEST_URI']));
	exit();
}

?>

No other release has this exact content. See every version of this file.