mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Fixed invalid XHTML in a number of admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1411 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -29,8 +29,8 @@ TEXTINPUT;
|
||||
//break;
|
||||
|
||||
case 2: // boolean
|
||||
$true_selected = ($option_result->option_value == '1') ? 'selected' : '';
|
||||
$false_selected = ($option_result->option_value == '0') ? 'selected' : '';
|
||||
$true_selected = ($option_result->option_value == '1') ? 'selected="selected"' : '';
|
||||
$false_selected = ($option_result->option_value == '0') ? 'selected="selected"' : '';
|
||||
return <<<BOOLSELECT
|
||||
<label for="$option_result->option_name">$option_result->option_name</label>$between
|
||||
<select name="$option_result->option_name" $disabled>
|
||||
@@ -55,7 +55,7 @@ SELECT;
|
||||
$ret .= '<option value="'.$option->optionvalue.'"';
|
||||
//error_log("comparing [$option_result->option_value] == [$option->optionvalue]");
|
||||
if ($option_result->option_value == $option->optionvalue) {
|
||||
$ret .=' selected';
|
||||
$ret .=' selected="selected"';
|
||||
}
|
||||
$ret .= ">$option->optionvalue_desc</option>\n";
|
||||
}
|
||||
@@ -85,7 +85,7 @@ SELECT;
|
||||
$ret .= '<option value="'.$option->value.'"';
|
||||
//error_log("comparing [$option_result->option_value] == [$option->optionvalue]");
|
||||
if ($option_result->option_value == $option->value) {
|
||||
$ret .=' selected';
|
||||
$ret .=' selected="selected"';
|
||||
}
|
||||
$ret .= ">$option->label</option>\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user