We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79f1188 commit 0ce8217Copy full SHA for 0ce8217
sunrise.php
@@ -2,6 +2,8 @@
2
3
if ( isset( $blog_id ) ) {
4
$current_site = wpmu_current_site();
5
+ if ( ! is_object( $current_site ) )
6
+ $current_site = new stdClass;
7
if ( ! isset( $current_site->site_name ) )
8
$current_site->site_name = 'jQuery';
9
$current_blog = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->blogs WHERE blog_id = %d", $blog_id ) );
0 commit comments