Ticket #18644: 18644.2.patch
File 18644.2.patch, 897 bytes (added by , 12 years ago) |
---|
-
wp-admin/includes/class-wp-media-list-table.php
137 137 /* translators: column name */ 138 138 if ( !$this->detached ) { 139 139 $posts_columns['parent'] = _x( 'Attached to', 'column name' ); 140 $posts_columns['comments'] = '<span class="vers"><img alt="Comments" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></span>'; 140 if ( post_type_supports( 'attachment', 'comments' ) ) 141 $posts_columns['comments'] = '<span class="vers"><img alt="' . __( 'Comments' ) . '" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></span>'; 141 142 } 142 143 /* translators: column name */ 143 144 $posts_columns['date'] = _x( 'Date', 'column name' );