Ticket #20345: 20345.patch
File 20345.patch, 1.3 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/class-wp-media-list-table.php
130 130 $posts_columns['icon'] = ''; 131 131 /* translators: column name */ 132 132 $posts_columns['title'] = _x( 'File', 'column name' ); 133 $posts_columns['author'] = __( 'Author' );134 //$posts_columns['tags'] = _x( 'Tags', 'column name' );133 if ( is_multi_author() ) 134 $posts_columns['author'] = __( 'Author' ); 135 135 /* translators: column name */ 136 136 if ( !$this->detached ) { 137 137 $posts_columns['parent'] = _x( 'Attached to', 'column name' ); -
wp-admin/includes/class-wp-posts-list-table.php
266 266 /* translators: manage posts column name */ 267 267 $posts_columns['title'] = _x( 'Title', 'column name' ); 268 268 269 if ( post_type_supports( $post_type, 'author' ) )269 if ( post_type_supports( $post_type, 'author' ) && is_multi_author() ) 270 270 $posts_columns['author'] = __( 'Author' ); 271 271 272 272 if ( empty( $post_type ) || is_object_in_taxonomy( $post_type, 'category' ) )