mirror of
git://develop.git.wordpress.org/
synced 2025-03-14 17:09:47 +01:00
Fix media columns
git-svn-id: https://develop.svn.wordpress.org/trunk@9878 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b2ea4b8184
commit
250eb8ef47
@ -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…
x
Reference in New Issue
Block a user