Make WordPress Core


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-admin/options-permalink.php

    r863 r945  
    9797  <p>Using the permalink structure value you currently have, <code><?php echo $permalink_structure; ?></code>, these are the mod_rewrite rules you should have in your <code>.htaccess</code> file.</p>
    9898  <?php
    99 $site_root = str_replace('http://', '', trim($siteurl));
     99$site_root = str_replace('http://', '', trim(get_settings('siteurl')));
    100100$site_root = preg_replace('|([^/]*)(.*)|i', '$2', $site_root);
    101101if ('/' != substr($site_root, -1)) $site_root = $site_root . '/';
Note: See TracChangeset for help on using the changeset viewer.