No bad HTML when there's quotes in options.
git-svn-id: https://develop.svn.wordpress.org/trunk@2322 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ed8a84e4cd
commit
5e087090d8
@ -103,7 +103,7 @@ foreach ($options as $option) :
|
||||
echo "
|
||||
<tr>
|
||||
<th scope='row'><label for='$option->option_name'>$option->option_name</label></th>
|
||||
<td><input type='text' name='$option->option_name' id='$option->option_name' size='30' value='$value' /></td>
|
||||
<td><input type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . htmlspecialchars($value, ENT_QUOTES) . "' /></td>
|
||||
<td>$option->option_description</td>
|
||||
</tr>";
|
||||
endforeach;
|
||||
|
Loading…
Reference in New Issue
Block a user