mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 10:14:31 +00:00
Upgrade global bug.
git-svn-id: https://develop.svn.wordpress.org/trunk@700 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -43,7 +43,7 @@ BOOLSELECT;
|
||||
case 5: // select
|
||||
$ret = <<<SELECT
|
||||
<label for="$option_result->option_name">$option_result->option_name</label>$between
|
||||
<select name="$option_result->option_name" $disabled>
|
||||
<select name="$option_result->option_name" id="$option_result->option_name" $disabled>
|
||||
SELECT;
|
||||
|
||||
$select = $wpdb->get_results("SELECT optionvalue, optionvalue_desc "
|
||||
@@ -72,13 +72,13 @@ SELECT;
|
||||
}
|
||||
|
||||
// now we may need to do table name substitution
|
||||
eval("include('../wp-config.php');\$sql = \"$sql\";");
|
||||
eval("include('../wp-config.php');\$sql = \"$sql\";");
|
||||
|
||||
$ret = <<<SELECT
|
||||
<label for="$option_result->option_name">$option_result->option_name</label>$between
|
||||
<select name="$option_result->option_name" $disabled>
|
||||
SELECT;
|
||||
|
||||
|
||||
$select = $wpdb->get_results("$sql");
|
||||
if ($select) {
|
||||
foreach($select as $option) {
|
||||
|
||||
Reference in New Issue
Block a user