Changeset 9077

Show
Ignore:
Timestamp:
10/03/08 15:55:35 (2 months ago)
Author:
markjaquith
Message:

Apply [8853] to the 2.6 branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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 . "/>";