From c897a0ba270f217512e37f8bd520dd24b35b058d Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 28 Feb 2007 12:13:39 +0000 Subject: WP Merge to rev 4956 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@904 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/upload-functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wp-admin/upload-functions.php') diff --git a/wp-admin/upload-functions.php b/wp-admin/upload-functions.php index 2ba76cd..c2b5519 100644 --- a/wp-admin/upload-functions.php +++ b/wp-admin/upload-functions.php @@ -13,13 +13,13 @@ function wp_upload_display( $dims = false, $href = '' ) { } if ( isset($attachment_data['width']) ) list($width,$height) = wp_shrink_dimensions($attachment_data['width'], $attachment_data['height'], 171, 128); - + ob_start(); the_title(); $post_title = attribute_escape(ob_get_contents()); ob_end_clean(); $post_content = apply_filters( 'content_edit_pre', $post->post_content ); - + $class = 'text'; $innerHTML = get_attachment_innerHTML( $id, false, $dims ); if ( $image_src = get_attachment_icon_src() ) { @@ -285,7 +285,7 @@ function wp_upload_posts_where( $where ) { function wp_upload_tab_browse() { global $wpdb, $action, $paged; $old_vars = compact( 'paged' ); - + switch ( $action ) : case 'edit' : case 'view' : -- cgit