mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for the 3.1 branch.
git-svn-id: https://develop.svn.wordpress.org/branches/3.1@17497 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
92d74dbf2d
commit
92db7e88c7
@ -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