Make IP query threshold more restrictive. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16167 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
103523a499
commit
358cdf6e23
@ -47,7 +47,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
||||
|
||||
if ( empty($s) ) {
|
||||
// Nothing to do.
|
||||
} elseif ( false !== strpos($s, '.') ) {
|
||||
} elseif ( preg_match('/^[0-9]+\./', $s) ) {
|
||||
// IP address
|
||||
$query = "SELECT *
|
||||
FROM {$wpdb->blogs}, {$wpdb->registration_log}
|
||||
|
Loading…
Reference in New Issue
Block a user