diff --git a/wp-admin/edit-attachment-rows.php b/wp-admin/edit-attachment-rows.php index c471759b8f..53c0673e8f 100644 --- a/wp-admin/edit-attachment-rows.php +++ b/wp-admin/edit-attachment-rows.php @@ -26,6 +26,8 @@ if ( ! defined('ABSPATH') ) die(); if ( have_posts() ) { add_filter('the_title','wp_specialchars'); $alt = ''; +$posts_columns = get_column_headers('upload'); +$hidden = get_hidden_columns('upload'); while (have_posts()) : the_post(); $alt = ( 'alternate' == $alt ) ? '' : 'alternate'; global $current_user; @@ -36,9 +38,6 @@ $att_title = _draft_or_post_title(); post_status ); ?>' valign="top"> $column_display_name ) { $class = "class=\"$column_name column-$column_name\"";