From 250eb8ef47f5b7691ea29ba903216eb042d2e4d3 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 25 Nov 2008 19:26:53 +0000 Subject: [PATCH] Fix media columns git-svn-id: https://develop.svn.wordpress.org/trunk@9878 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-attachment-rows.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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\"";