mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-01 08:37:55 +02:00
cast to array in retrospaminator. Props mdawaffe. fixes #2745
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b5b10e358d
commit
e464b28558
@ -809,7 +809,7 @@ class retrospam_mgr {
|
|||||||
$list = array_unique( $list );
|
$list = array_unique( $list );
|
||||||
$this->spam_words = $list;
|
$this->spam_words = $list;
|
||||||
|
|
||||||
$this->comment_list = $wpdb->get_results("SELECT comment_ID AS ID, comment_content AS text, comment_approved AS approved, comment_author_url AS url, comment_author_ip AS ip, comment_author_email AS email FROM $wpdb->comments ORDER BY comment_ID ASC");
|
$this->comment_list = (array) $wpdb->get_results("SELECT comment_ID AS ID, comment_content AS text, comment_approved AS approved, comment_author_url AS url, comment_author_ip AS ip, comment_author_email AS email FROM $wpdb->comments ORDER BY comment_ID ASC");
|
||||||
} // End of class constructor
|
} // End of class constructor
|
||||||
|
|
||||||
function move_spam( $id_list ) {
|
function move_spam( $id_list ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user