Changeset 2488 for trunk/wp-admin/upgrade-functions.php
- Timestamp:
- 03/29/2005 05:39:23 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upgrade-functions.php
r2487 r2488 580 580 $f = fopen("$site_dir/$newfile", 'w'); 581 581 582 $siteurl = $wpdb->get_var("SELECT option_value FROM $wpdb->options WHERE option_name = 'siteurl'");583 582 foreach ($lines as $line) { 584 583 if (preg_match('/require.*wp-blog-header/', $line)) … … 586 585 587 586 // Update stylesheet references. 588 $line = str_replace("<?php echo $siteurl; ?>/wp-layout.css", "<?php bloginfo('stylesheet_url'); ?>", $line);587 $line = str_replace("<?php echo __get_option('siteurl'); ?>/wp-layout.css", "<?php bloginfo('stylesheet_url'); ?>", $line); 589 588 590 589 // Update comments template inclusion.
Note: See TracChangeset
for help on using the changeset viewer.