mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Various fixes and cleanups, inspired and pointed out by Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@1245 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -55,8 +55,8 @@ if (!empty($delete_comments)) {
|
||||
echo "<div class='wrap'><p>" . sprintf(__('%s comments deleted.'), $i) . "</p></div>";
|
||||
}
|
||||
|
||||
if ($s) {
|
||||
$s = $wpdb->escape($s);
|
||||
if (isset($_GET['s'])) {
|
||||
$s = $wpdb->escape($_GET['s']);
|
||||
$comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE
|
||||
comment_author LIKE '%$s%' OR
|
||||
comment_author_email LIKE '%$s%' OR
|
||||
|
||||
Reference in New Issue
Block a user