summaryrefslogtreecommitdiffstats
path: root/wp-admin/includes/class-wp-comments-list-table.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/includes/class-wp-comments-list-table.php')
-rw-r--r--wp-admin/includes/class-wp-comments-list-table.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php
index d4970e2..6c45a4e 100644
--- a/wp-admin/includes/class-wp-comments-list-table.php
+++ b/wp-admin/includes/class-wp-comments-list-table.php
@@ -237,7 +237,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();
- $stati = array(
+ $statuses = array(
/* translators: %s: Number of comments. */
'all' => _nx_noop(
'All <span class="count">(%s)</span>',
@@ -282,7 +282,7 @@ class WP_Comments_List_Table extends WP_List_Table {
);
if ( ! EMPTY_TRASH_DAYS ) {
- unset( $stati['trash'] );
+ unset( $statuses['trash'] );
}
$link = admin_url( 'edit-comments.php' );
@@ -291,7 +291,7 @@ class WP_Comments_List_Table extends WP_List_Table {
$link = add_query_arg( 'comment_type', $comment_type, $link );
}
- foreach ( $stati as $status => $label ) {
+ foreach ( $statuses as $status => $label ) {
if ( 'mine' === $status ) {
$current_user_id = get_current_user_id();
$num_comments->mine = get_comments(