mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Media column changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8663b8e8a4
commit
0b2c0cf5ba
@ -94,6 +94,12 @@ foreach ($posts_columns as $column_name => $column_display_name ) {
|
|||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'author':
|
||||||
|
?>
|
||||||
|
<td <?php echo $attributes ?>><?php the_author() ?></td>
|
||||||
|
<?php
|
||||||
|
break;
|
||||||
|
|
||||||
case 'tags':
|
case 'tags':
|
||||||
?>
|
?>
|
||||||
<td <?php echo $attributes ?>><?php
|
<td <?php echo $attributes ?>><?php
|
||||||
|
@ -707,14 +707,13 @@ function wp_manage_media_columns() {
|
|||||||
$posts_columns = array();
|
$posts_columns = array();
|
||||||
$posts_columns['cb'] = '<input type="checkbox" />';
|
$posts_columns['cb'] = '<input type="checkbox" />';
|
||||||
$posts_columns['icon'] = '';
|
$posts_columns['icon'] = '';
|
||||||
$posts_columns['media'] = _c('Media|media column header');
|
$posts_columns['media'] = _c('File|media column header');
|
||||||
|
$posts_columns['author'] = __('Author');
|
||||||
$posts_columns['tags'] = _c('Tags|media column header');
|
$posts_columns['tags'] = _c('Tags|media column header');
|
||||||
// $posts_columns['desc'] = _c('Description|media column header');
|
$posts_columns['parent'] = _c('Attached to|media column header');
|
||||||
$posts_columns['date'] = _c('Date Added|media column header');
|
|
||||||
$posts_columns['parent'] = _c('Appears with|media column header');
|
|
||||||
//$posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="images/comment-grey-bubble.png" /></div>';
|
//$posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="images/comment-grey-bubble.png" /></div>';
|
||||||
$posts_columns['comments'] = __('Comments');
|
$posts_columns['comments'] = __('Comments');
|
||||||
// $posts_columns['actions'] = _c('Actions|media column header');
|
$posts_columns['date'] = _c('Date|media column header');
|
||||||
$posts_columns = apply_filters('manage_media_columns', $posts_columns);
|
$posts_columns = apply_filters('manage_media_columns', $posts_columns);
|
||||||
|
|
||||||
return $posts_columns;
|
return $posts_columns;
|
||||||
|
Loading…
Reference in New Issue
Block a user