Make WordPress Core

Changeset 945 for trunk/wp-settings.php


Ignore:
Timestamp:
02/26/2004 04:15:48 PM (22 years ago)
Author:
saxmatt
Message:

Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r885 r945  
    4949// accessing a single global $all_settings var
    5050if (!strstr($_SERVER['REQUEST_URI'], 'install.php') && !strstr($_SERVER['REQUEST_URI'], 'wp-admin/import')) {
    51     $siteurl = get_settings('siteurl');
    52     $blogfilename = get_settings('blogfilename');
    5351    $blogname = get_settings('blogname');
    5452    $blogdescription = get_settings('blogdescription');
     
    103101    //}
    104102    // Used to guarantee unique cookies
    105     $cookiehash = md5($siteurl);
     103    $cookiehash = md5(get_settings('siteurl'));
    106104
    107105} //end !$_wp_installing
Note: See TracChangeset for help on using the changeset viewer.