mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17496 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1ca947074d
commit
b905438706
@ -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…
x
Reference in New Issue
Block a user