mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Remove type attribute from textarea. props solarissmoke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
14ec951269
commit
16e649f95f
@ -1350,7 +1350,7 @@ function get_media_item( $attachment_id, $args = null ) {
|
||||
if ( user_can_richedit() ) { // textarea_escaped when user_can_richedit() = false
|
||||
$field['value'] = esc_textarea( $field['value'] );
|
||||
}
|
||||
$item .= "<textarea type='text' id='$name' name='$name' $aria_required>" . $field['value'] . '</textarea>';
|
||||
$item .= "<textarea id='$name' name='$name' $aria_required>" . $field['value'] . '</textarea>';
|
||||
} else {
|
||||
$item .= "<input type='text' class='text' id='$name' name='$name' value='" . esc_attr( $field['value'] ) . "' $aria_required />";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user