Changeset 22108 for trunk/wp-includes/functions.php
- Timestamp:
- 10/04/2012 12:40:09 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r22106 r22108 3119 3119 */ 3120 3120 function is_main_site( $blog_id = '' ) { 3121 global $current_site , $current_blog;3122 3123 if ( ! is_multisite() )3121 global $current_site; 3122 3123 if ( ! is_multisite() ) 3124 3124 return true; 3125 3125 3126 if ( ! $blog_id )3127 $blog_id = $current_blog->blog_id;3126 if ( ! $blog_id ) 3127 $blog_id = get_current_blog_id(); 3128 3128 3129 3129 return $blog_id == $current_site->blog_id;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)