From 5b8b157a65b0864551c331764022d6f0b1ec4816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20W=C3=BCnsch?= Date: Sun, 22 Mar 2026 11:51:06 +0100 Subject: [PATCH] Code Quality: Remove redundant variable assignment in author template --- src/wp-includes/author-template.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-includes/author-template.php b/src/wp-includes/author-template.php index 45bdf47757cbe..4c715a62b51f1 100644 --- a/src/wp-includes/author-template.php +++ b/src/wp-includes/author-template.php @@ -489,8 +489,7 @@ function wp_list_authors( $args = '' ) { */ $query_args = apply_filters( 'wp_list_authors_args', $query_args, $parsed_args ); - $authors = get_users( $query_args ); - $post_counts = array(); + $authors = get_users( $query_args ); /** * Filters whether to short-circuit performing the query for author post counts.