mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
30bc33ad5a
commit
68322f81b5
@ -72,7 +72,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
||||
$query .= " AND ( {$wpdb->blogs}.domain LIKE '$blog_s' ) ";
|
||||
} else {
|
||||
if ( $like_s != trim('/', $current_site->path) )
|
||||
$blog_s = $current_site->path .= $like_s . $wild . '/';
|
||||
$blog_s = $current_site->path . $like_s . $wild . '/';
|
||||
else
|
||||
$blog_s = $like_s;
|
||||
$query .= " AND ( {$wpdb->blogs}.path LIKE '$blog_s' )";
|
||||
|
Loading…
Reference in New Issue
Block a user