We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 756809f commit e4b524aCopy full SHA for e4b524a
src/wp-admin/includes/class-wp-media-list-table.php
@@ -367,7 +367,7 @@ public function get_columns() {
367
if ( ! $this->detached ) {
368
$posts_columns['parent'] = _x( 'Uploaded to', 'column name' );
369
370
- if ( post_type_supports( 'attachment', 'comments' ) ) {
+ if ( post_type_supports( 'attachment', 'comments' ) && ! empty( get_option('wp_attachment_pages_enabled') ) ) {
371
$posts_columns['comments'] = sprintf(
372
'<span class="vers comment-grey-bubble" title="%1$s" aria-hidden="true"></span><span class="screen-reader-text">%2$s</span>',
373
esc_attr__( 'Comments' ),
0 commit comments