mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
These functions import $wpdb but do not use it.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28539 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -761,8 +761,6 @@ function wp_dashboard_recent_posts( $args ) {
|
||||
* @return bool False if no comments were found. True otherwise.
|
||||
*/
|
||||
function wp_dashboard_recent_comments( $total_items = 5 ) {
|
||||
global $wpdb;
|
||||
|
||||
// Select all comment types and filter out spam later for better query performance.
|
||||
$comments = array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user