Make WordPress Core

Changeset 9077


Ignore:
Timestamp:
10/03/2008 03:55:35 PM (16 years ago)
Author:
markjaquith
Message:

Apply [8853] to the 2.6 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-admin/includes/media.php

    r8915 r9077  
    814814            $item .= $field[$field['input']];
    815815        elseif ( $field['input'] == 'textarea' ) {
    816             $item .= "<textarea type='text' id='$name' name='$name'>" . attribute_escape( $field['value'] ) . $aria_required . "</textarea>";
     816            $item .= "<textarea type='text' id='$name' name='$name'" . $aria_required . ">" . htmlspecialchars( $field['value'] ) . "</textarea>";
    817817        } else {
    818818            $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.