Make WordPress Core


Ignore:
Timestamp:
02/14/2005 04:39:17 AM (20 years ago)
Author:
saxmatt
Message:

No bad HTML when there's quotes in options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options.php

    r2308 r2322  
    104104<tr>
    105105    <th scope='row'><label for='$option->option_name'>$option->option_name</label></th>
    106     <td><input type='text' name='$option->option_name' id='$option->option_name' size='30' value='$value' /></td>
     106    <td><input type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . htmlspecialchars($value, ENT_QUOTES) . "' /></td>
    107107    <td>$option->option_description</td>
    108108</tr>";
Note: See TracChangeset for help on using the changeset viewer.