Ticket #2745: 2745.diff
| File 2745.diff, 0.8 kB (added by mdawaffe, 2 years ago) |
|---|
-
wp-includes/classes.php
old new 809 809 $list = array_unique( $list ); 810 810 $this->spam_words = $list; 811 811 812 $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");812 $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"); 813 813 } // End of class constructor 814 814 815 815 function move_spam( $id_list ) {
