mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +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) ) {
|
if ( empty($s) ) {
|
||||||
// Nothing to do.
|
// Nothing to do.
|
||||||
} elseif ( false !== strpos($s, '.') ) {
|
} elseif ( preg_match('/^[0-9]+\./', $s) ) {
|
||||||
// IP address
|
// IP address
|
||||||
$query = "SELECT *
|
$query = "SELECT *
|
||||||
FROM {$wpdb->blogs}, {$wpdb->registration_log}
|
FROM {$wpdb->blogs}, {$wpdb->registration_log}
|
||||||
|
Loading…
Reference in New Issue
Block a user