- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-admin/includes/media.php
r10435 r10701 1168 1168 $item .= $field[$field['input']]; 1169 1169 elseif ( $field['input'] == 'textarea' ) { 1170 $item .= "<textarea type='text' id='$name' name='$name'" . $aria_required . ">" . htmlspecialchars( $field['value'] ) . "</textarea>";1170 $item .= "<textarea type='text' id='$name' name='$name'" . $aria_required . ">" . wp_specialchars( $field['value'] ) . "</textarea>"; 1171 1171 } else { 1172 1172 $item .= "<input type='text' id='$name' name='$name' value='" . attribute_escape( $field['value'] ) . "'" . $aria_required . "/>";
Note: See TracChangeset
for help on using the changeset viewer.