From 56b9394fb8c637192c80702eb66f3f4bc1c85e67 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 29 Mar 2005 05:39:23 +0000 Subject: [PATCH] Tweak to 2487. git-svn-id: https://develop.svn.wordpress.org/trunk@2488 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/upgrade-functions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-admin/upgrade-functions.php b/wp-admin/upgrade-functions.php index baade87aca..290b477f7c 100644 --- a/wp-admin/upgrade-functions.php +++ b/wp-admin/upgrade-functions.php @@ -579,13 +579,12 @@ function make_site_theme_from_oldschool($theme_name, $template) { if ($lines) { $f = fopen("$site_dir/$newfile", 'w'); - $siteurl = $wpdb->get_var("SELECT option_value FROM $wpdb->options WHERE option_name = 'siteurl'"); foreach ($lines as $line) { if (preg_match('/require.*wp-blog-header/', $line)) $line = '//' . $line; // Update stylesheet references. - $line = str_replace("/wp-layout.css", "", $line); + $line = str_replace("/wp-layout.css", "", $line); // Update comments template inclusion. $line = str_replace("", "", $line);