From 893e77607d6c0aec3758f0bf1307d838a59c2edd Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 21 Nov 2012 14:04:24 +0000 Subject: [PATCH] Revert accidental changes to admin/includes/media.php in [22755]. see #22083. git-svn-id: https://develop.svn.wordpress.org/trunk@22759 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/media.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 00a3465a3e..ce9a944440 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1055,18 +1055,11 @@ function get_media_items( $post_id, $errors ) { function get_media_item( $attachment_id, $args = null ) { global $redir_tab; - echo "$toggle_on"; - if ( ( $attachment_id = intval( $attachment_id ) ) && $thumb_url = wp_get_attachment_image_src( $attachment_id, 'thumbnail', true ) ) $thumb_url = $thumb_url[0]; else $thumb_url = false; - $display_title = ( !empty( $title ) ) ? $title : $filename; // $title shouldn't ever be empty, but just in case - $display_title = $show_title ? "
" . wp_html_excerpt( $display_title, 60 ) . "
" : ''; - - echo "

"; - $post = get_post( $attachment_id ); $current_post_id = !empty( $_GET['post_id'] ) ? (int) $_GET['post_id'] : 0;