WordPress.org

Make WordPress Core

Ticket #36424: 36424.2.diff

File 36424.2.diff, 583 bytes (added by Presskopp, 4 years ago)
  • class-wp-list-table.php

     
    686686                                $approved_comments ? __( 'No pending comments' ) : __( 'No comments' )
    687687                        );
    688688                }
     689                // If comments are closed, show a lock then
     690                if ( ! comments_open( $post_id ) ) {
     691                        printf( '<span aria-hidden="true"><span class="dashicons dashicons-lock"></span></span><span class="screen-reader-text">%s</span>',
     692                                __( 'Comments are closed' )
     693                        );
     694                }               
    689695        }
    690696
    691697        /**