WordPress.org

Make WordPress Core

Changeset 17615


Ignore:
Timestamp:
04/07/11 08:30:08 (3 years ago)
Author:
nacin
Message:

Remove type attribute from textarea. props solarissmoke.

File:
1 edited

Legend:

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

    r17568 r17615  
    13511351                $field['value'] = esc_textarea( $field['value'] ); 
    13521352            } 
    1353             $item .= "<textarea type='text' id='$name' name='$name' $aria_required>" . $field['value'] . '</textarea>'; 
     1353            $item .= "<textarea id='$name' name='$name' $aria_required>" . $field['value'] . '</textarea>'; 
    13541354        } else { 
    13551355            $item .= "<input type='text' class='text' id='$name' name='$name' value='" . esc_attr( $field['value'] ) . "' $aria_required />"; 
Note: See TracChangeset for help on using the changeset viewer.