Fix media columns
git-svn-id: http://svn.automattic.com/wordpress/trunk@9878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ed031adb99
commit
3117f4ee53
|
@ -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();
|
|||
<tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
|
||||
|
||||
<?php
|
||||
$posts_columns = get_column_headers('media');
|
||||
$hidden = get_hidden_columns('media');
|
||||
|
||||
foreach ($posts_columns as $column_name => $column_display_name ) {
|
||||
$class = "class=\"$column_name column-$column_name\"";
|
||||
|
||||
|
|
Loading…
Reference in New Issue