mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
Strip trailing whites from ms files. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12632 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -53,7 +53,7 @@ function wpmu_current_site() {
|
||||
$current_site = wp_cache_get( "current_site", "site-options" );
|
||||
if( $current_site )
|
||||
return $current_site;
|
||||
|
||||
|
||||
$wpdb->suppress_errors();
|
||||
$sites = $wpdb->get_results( "SELECT * FROM $wpdb->site" ); // usually only one site
|
||||
if( count( $sites ) == 1 ) {
|
||||
|
||||
Reference in New Issue
Block a user