Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36424, comment 3


Ignore:
Timestamp:
04/08/2016 08:50:27 PM (9 years ago)
Author:
Presskopp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36424, comment 3

    initial v1  
    77{{{#!php
    88
    9                 // No comments at all.
     9                // Comments are closed, show a lock then - Translation needed
    1010                if (!comments_open( $post_id )) {
    1111                        printf( '<span aria-hidden="true"><span class="dashicons dashicons-lock"></span></span><span class="screen-reader-text">%s</span>',
    1212                                __( 'Comments closed' )
    1313                        );
    14                 // Comments are closed, show a lock then - Translation needed
     14                // No comments at all.
    1515                } elseif ( ! $approved_comments && ! $pending_comments ) {
    1616                        printf( '<span aria-hidden="true">—</span><span class="screen-reader-text">%s</span>',