From 3f3846e2fc205a0c5f372ab41ae792c94db363dd Mon Sep 17 00:00:00 2001 From: azaozz Date: Wed, 30 Dec 2009 08:19:34 +0000 Subject: [PATCH] Remove unneeded empty span and add form closing tag in media.php, props Simek and hakre, fixes #11569 git-svn-id: http://svn.automattic.com/wordpress/trunk@12582 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index aca72f3d94..6de8c157d9 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1291,12 +1291,12 @@ function get_media_item( $attachment_id, $args = null ) { continue; } - $required = $field['required'] ? '*' : ''; + $required = $field['required'] ? '*' : ''; $aria_required = $field['required'] ? " aria-required='true' " : ''; $class = $id; $class .= $field['required'] ? ' form-required' : ''; - $item .= "\t\t\n\t\t\t\n\t\t\t"; + $item .= "\t\t\n\t\t\t\n\t\t\t"; if ( !empty( $field[ $field['input'] ] ) ) $item .= $field[ $field['input'] ]; elseif ( $field['input'] == 'textarea' ) { @@ -1531,6 +1531,7 @@ if ( $id ) {

+