mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-06 09:19:04 +00:00
Define COOKIEHASH and new get_profile function. TODO: re-org function soup
git-svn-id: https://develop.svn.wordpress.org/trunk@1513 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -61,16 +61,15 @@ if ( !update_user_cache() && !strstr($_SERVER['PHP_SELF'], 'install.php') )
|
||||
die("It doesn't look like you've installed WP yet. Try running <a href='wp-admin/install.php'>install.php</a>.");
|
||||
$wpdb->show_errors();
|
||||
|
||||
if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) {
|
||||
|
||||
if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) :
|
||||
$querystring_start = '?';
|
||||
$querystring_equal = '=';
|
||||
$querystring_separator = '&';
|
||||
//}
|
||||
// Used to guarantee unique cookies
|
||||
$cookiehash = md5(get_settings('siteurl'));
|
||||
|
||||
} //end !$_wp_installing
|
||||
// Used to guarantee unique hash cookies
|
||||
$cookiehash = md5(get_settings('siteurl'));
|
||||
define('COOKIEHASH', $cookiehash);
|
||||
endif;
|
||||
|
||||
require (ABSPATH . WPINC . '/vars.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user