Make WordPress Core


Ignore:
Timestamp:
12/15/2003 08:13:41 AM (22 years ago)
Author:
saxmatt
Message:

Fix for siteurl problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-permalink.php

    r601 r613  
    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(get_settings('siteurl')));
     99$site_root = str_replace('http://', '', trim($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.