mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Make IP query threshold more restrictive. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97cb9b2a08
commit
b713a76272
@ -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