Skip to content

Commit 9df8f90

Browse files
committed
Fix formatting in comments column visibility check in media list table
1 parent e4b524a commit 9df8f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-admin/includes/class-wp-media-list-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ public function get_columns() {
367367
if ( ! $this->detached ) {
368368
$posts_columns['parent'] = _x( 'Uploaded to', 'column name' );
369369

370-
if ( post_type_supports( 'attachment', 'comments' ) && ! empty( get_option('wp_attachment_pages_enabled') ) ) {
370+
if ( post_type_supports( 'attachment', 'comments' ) && ! empty( get_option( 'wp_attachment_pages_enabled' ) ) ) {
371371
$posts_columns['comments'] = sprintf(
372372
'<span class="vers comment-grey-bubble" title="%1$s" aria-hidden="true"></span><span class="screen-reader-text">%2$s</span>',
373373
esc_attr__( 'Comments' ),

0 commit comments

Comments
 (0)