]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/class-wp-comments-list-table.php
Wordpress 4.6-scripts
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-comments-list-table.php
index a5f96939d510d9cc0e263196125ad66c59520a2a..116a55e06f721e459a16967938c7c01db972ee6d 100644 (file)
@@ -166,7 +166,7 @@ class WP_Comments_List_Table extends WP_List_Table {
        public function get_per_page( $comment_status = 'all' ) {
                $comments_per_page = $this->get_items_per_page( 'edit_comments_per_page' );
                /**
-                * Filter the number of comments listed per page in the comments list table.
+                * Filters the number of comments listed per page in the comments list table.
                 *
                 * @since 2.6.0
                 *
@@ -201,8 +201,7 @@ class WP_Comments_List_Table extends WP_List_Table {
 
                $status_links = array();
                $num_comments = ( $post_id ) ? wp_count_comments( $post_id ) : wp_count_comments();
-               //, number_format_i18n($num_comments->moderated) ), "<span class='comment-count'>" . number_format_i18n($num_comments->moderated) . "</span>"),
-               //, number_format_i18n($num_comments->spam) ), "<span class='spam-comment-count'>" . number_format_i18n($num_comments->spam) . "</span>")
+
                $stati = array(
                        /* translators: %s: all comments count */
                        'all' => _nx_noop(
@@ -270,7 +269,7 @@ class WP_Comments_List_Table extends WP_List_Table {
                }
 
                /**
-                * Filter the comment status links.
+                * Filters the comment status links.
                 *
                 * @since 2.5.0
                 *
@@ -330,7 +329,7 @@ class WP_Comments_List_Table extends WP_List_Table {
                                <option value=""><?php _e( 'All comment types' ); ?></option>
 <?php
                                /**
-                                * Filter the comment types dropdown menu.
+                                * Filters the comment types dropdown menu.
                                 *
                                 * @since 2.7.0
                                 *
@@ -718,7 +717,7 @@ class WP_Comments_List_Table extends WP_List_Table {
        public function column_date( $comment ) {
                /* translators: 1: comment date, 2: comment time */
                $submitted = sprintf( __( '%1$s at %2$s' ),
-                       /* translators: comment date format. See http://php.net/date */
+                       /* translators: comment date format. See https://secure.php.net/date */
                        get_comment_date( __( 'Y/m/d' ), $comment ),
                        get_comment_date( __( 'g:i a' ), $comment )
                );