CoreFiles by mySites.guru
admin.php23 lines, 441 bytes, from wordpress-3.1.2.zip
Raw History Compare with 3.1.1
md5
de049bb5212977dd0a58001b660ea5de
sha1
990660496325109bed137b3a0f46ab7aa63e8a58
sha256
403acaa407efa628579ac405cd4642f9fe2592ca066de585eb30c5528d2b23b7
<?php
/**
 * WordPress User Administration Bootstrap
 *
 * @package WordPress
 * @subpackage Administration
 * @since 3.1.0
 */

define('WP_USER_ADMIN', TRUE);

require_once( dirname(dirname(__FILE__)) . '/admin.php');

if ( ! is_multisite() ) {
	wp_redirect( admin_url() );
	exit;
}

if ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ) {
	wp_redirect( user_admin_url() );
	exit;
}
?>

The same content is in 5 releases, WordPress 3.1.1-RC1 to 3.1.4. See them all, or every version of this file.