Make WordPress Core

Ticket #19848: is_main_site1.diff

File is_main_site1.diff, 369 bytes (added by tw2113, 13 years ago)

Got too reckless and changed too much, sorry. Use this diff

  • wp-includes/functions.php

     
    31083108        if ( !$blog_id )
    31093109                $blog_id = $current_blog->blog_id;
    31103110
    3111         return $blog_id == $current_site->blog_id;
     3111        return $blog_id == $current_site->id;
    31123112}
    31133113
    31143114/**