Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: http://svn.automattic.com/wordpress/trunk@945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -676,7 +676,7 @@ $guessurl = str_replace('/wp-admin/install.php?step=2', '', 'http://' . $HTTP_HO
|
||||
|
||||
|
||||
<?php
|
||||
$url = $HTTP_POST_VARS['url'];
|
||||
$url = $_POST['url'];
|
||||
if (isset($url)) {
|
||||
$query= "UPDATE $tableoptions set option_value='$url' where option_id=1"; //siteurl
|
||||
$q = $wpdb->query($query);
|
||||
|
||||
Reference in New Issue
Block a user