Make WordPress Core


Ignore:
Timestamp:
06/11/2004 06:23:12 PM (21 years ago)
Author:
jverber
Message:

Fixed invalid XHTML in a number of admin pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-categories.php

    r1355 r1411  
    157157    <td>
    158158    <select name="sort_order" size="1">
    159             <option value="name"    <?php echo ($row->sort_order == 'name') ? 'selected' : ''?>><?php _e('Name') ?></option>
     159            <option value="name" <?php echo ($row->sort_order == 'name') ? 'selected="selected"' : ''?>><?php _e('Name') ?></option>
    160160            <option value="id"      <?php echo ($row->sort_order == 'id') ? 'selected' : ''?>><?php _e('Id') ?></option>
    161161            <option value="url"     <?php echo ($row->sort_order == 'url') ? 'selected' : ''?>><?php _e('URL') ?></option>
     
    191191<tr>
    192192    <th width="33%" scope="row"><?php _e('Before Link:') ?></th>
    193     <td width="67%"><input type="text" name="text_before_link" size="45" value="<?php echo stripslashes($row->text_before_link)?>" /></td>
     193    <td width="67%"><input type="text" name="text_before_link" size="45" value="<?php echo htmlspecialchars(stripslashes($row->text_before_link))?>" /></td>
    194194</tr>
    195195<tr>
    196196<th scope="row"><?php _e('Between Link and Description:') ?></th>
    197 <td><input type="text" name="text_after_link" size="45" value="<?php echo stripslashes($row->text_after_link)?>" /></td>
     197<td><input type="text" name="text_after_link" size="45" value="<?php echo htmlspecialchars(stripslashes($row->text_after_link))?>" /></td>
    198198</tr>
    199199<tr>
    200200<th scope="row"><?php _e('After Link:') ?></th>
    201 <td><input type="text" name="text_after_all" size="45" value="<?php echo stripslashes($row->text_after_all)?>"/></td>
     201<td><input type="text" name="text_after_all" size="45" value="<?php echo htmlspecialchars(stripslashes($row->text_after_all))?>"/></td>
    202202</tr>
    203203</table>
Note: See TracChangeset for help on using the changeset viewer.