summaryrefslogtreecommitdiffstats
path: root/wp-admin/wpmu-upgrade-site.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-26 16:50:19 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-26 16:50:19 +0000
commitd1174c0013283b8dc16c5349eac995fe2a1039ad (patch)
tree9102d9a91f56ba2e92e729f09d6fb118856bb78d /wp-admin/wpmu-upgrade-site.php
parentb6993d5766a5630574951bf4e62c7e55ae92c090 (diff)
downloadwordpress-mu-d1174c0013283b8dc16c5349eac995fe2a1039ad.tar.gz
wordpress-mu-d1174c0013283b8dc16c5349eac995fe2a1039ad.tar.xz
wordpress-mu-d1174c0013283b8dc16c5349eac995fe2a1039ad.zip
Don't use $wpmuBaseTablePrefix any more, use $wpdb->base_prefix, props lunabyte, fixes #479
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1134 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-upgrade-site.php')
-rw-r--r--wp-admin/wpmu-upgrade-site.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/wpmu-upgrade-site.php b/wp-admin/wpmu-upgrade-site.php
index 114d76c..2d426b0 100644
--- a/wp-admin/wpmu-upgrade-site.php
+++ b/wp-admin/wpmu-upgrade-site.php
@@ -25,7 +25,7 @@ switch( $_GET['action'] ) {
echo "<ul>";
foreach( (array) $blogs as $details ) {
if( $details['spam'] == 0 && $details['deleted'] == 0 && $details['archived'] == 0 ) {
- $siteurl = $wpdb->get_var("SELECT option_value from {$wpmuBaseTablePrefix}{$details['blog_id']}_options WHERE option_name = 'siteurl'");
+ $siteurl = $wpdb->get_var("SELECT option_value from {$wpdb->base_prefix}{$details['blog_id']}_options WHERE option_name = 'siteurl'");
echo "<li>$siteurl</li>";
if( $http_fopen ) {
$fp = fopen( $siteurl . "wp-admin/upgrade.php?step=1", "r" );
@@ -67,4 +67,4 @@ switch( $_GET['action'] ) {
?>
</div>
-<?php include('admin-footer.php'); ?> \ No newline at end of file
+<?php include('admin-footer.php'); ?>