Remove a dead variable, `$start`, from `wp_dashboard_recent_comments()`.
See #27882. Built from https://develop.svn.wordpress.org/trunk@28263 git-svn-id: http://core.svn.wordpress.org/trunk@28091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f44e4226fa
commit
21379dcde0
|
@ -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 '<div id="latest-comments" class="activity-block">';
|
||||
echo '<h4>' . __( 'Comments' ) . '</h4>';
|
||||
|
|
Loading…
Reference in New Issue