From 4c6f405ee7b1311c6eed7bc89cace862003efce1 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 6 May 2014 03:34:22 +0000 Subject: [PATCH] Remove a dead variable, `$start`, from `wp_dashboard_recent_comments()`. See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28263 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/dashboard.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index fb50197e17..27384c9d6a 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -765,7 +765,6 @@ function wp_dashboard_recent_comments( $total_items = 5 ) { // Select all comment types and filter out spam later for better query performance. $comments = array(); - $start = 0; $comments_query = array( 'number' => $total_items * 5, @@ -786,8 +785,6 @@ function wp_dashboard_recent_comments( $total_items = 5 ) { $comments_query['number'] = $total_items * 10; } - - if ( $comments ) { echo '
'; echo '

' . __( 'Comments' ) . '

';