From 4dbe26b26fe556c71cc38e2531110bc63f351b4d Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 25 Apr 2008 09:03:55 +0000 Subject: WP Merge to revision 7826 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1266 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/includes/media.php | 52 ++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'wp-admin/includes/media.php') diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 6b28c96..1000d15 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -632,7 +632,7 @@ function get_media_item( $attachment_id, $args = null ) { if ( isset($post_mime_types) ) { $keys = array_keys(wp_match_mime_types(array_keys($post_mime_types), $post->post_mime_type)); $type = array_shift($keys); - $type = ""; + $type = ""; } $form_fields = get_attachment_fields_to_edit($post, $errors); @@ -674,7 +674,7 @@ function get_media_item( $attachment_id, $args = null ) { $delete_href = wp_nonce_url("post.php?action=delete-post&post=$attachment_id", 'delete-post_' . $attachment_id); if ( $send ) - $send = ""; + $send = ""; if ( $delete ) $delete = "" . __('Delete') . ""; if ( ( $send || $delete ) && !isset($form_fields['buttons']) ) @@ -707,9 +707,9 @@ function get_media_item( $attachment_id, $args = null ) { if ( !empty($field[$field['input']]) ) $item .= $field[$field['input']]; elseif ( $field['input'] == 'textarea' ) { - $item .= ""; + $item .= ""; } else { - $item .= ""; + $item .= ""; } if ( !empty($field['helps']) ) $item .= "

" . join( "

\n

", array_unique((array) $field['helps']) ) . '

'; @@ -737,7 +737,7 @@ function get_media_item( $attachment_id, $args = null ) { $item .= "\t\n"; foreach ( $hidden_fields as $name => $value ) - $item .= "\t\n"; + $item .= "\t\n"; return $item; } @@ -765,7 +765,7 @@ function media_upload_form( $errors = null ) { $post_id = intval($_REQUEST['post_id']); ?> - +
@@ -814,7 +814,7 @@ jQuery(function($){
-

+

@@ -824,7 +824,7 @@ jQuery(function($){

- +

@@ -844,7 +844,7 @@ function media_upload_type_form($type = 'file', $errors = null, $id = null) { ?>
- +

@@ -864,7 +864,7 @@ jQuery(function($){
- + @@ -878,7 +878,7 @@ jQuery(function($){
- + - - - - - + + + + +
- - - - + + + +
- +

@@ -1023,15 +1023,15 @@ foreach ($arc_result as $arc_row) { else $default = ''; - echo ""; - echo $wp_locale->get_month($arc_row->mmonth) . " $arc_row->yyear"; + echo ""; + echo wp_specialchars( $wp_locale->get_month($arc_row->mmonth) . " $arc_row->yyear" ); echo "\n"; } ?> - + @@ -1059,8 +1059,8 @@ jQuery(function($){

- - + +