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:
ryan 2010-11-03 18:40:12 +00:00
parent 97cb9b2a08
commit b713a76272

View File

@ -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}