<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[BuddyPress] [2274] trunk:
  Change multiblog naming convention to multisite to avoid future confusion.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd>2274</dd>
<dt>Author</dt> <dd>apeatling</dd>
<dt>Date</dt> <dd>2010-01-06 21:24:41 +0000 (Wed, 06 Jan 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Change multiblog naming convention to multisite to avoid future confusion.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpblogsphp">trunk/bp-blogs.php</a></li>
<li><a href="#trunkbpcorebpcoreactivationphp">trunk/bp-core/bp-core-activation.php</a></li>
<li><a href="#trunkbpcorebpcoreadminbarphp">trunk/bp-core/bp-core-adminbar.php</a></li>
<li><a href="#trunkbpcorebpcoreavatarsphp">trunk/bp-core/bp-core-avatars.php</a></li>
<li><a href="#trunkbpcorebpcorecatchuriphp">trunk/bp-core/bp-core-catchuri.php</a></li>
<li><a href="#trunkbpcorebpcoresignupphp">trunk/bp-core/bp-core-signup.php</a></li>
<li><a href="#trunkbpcorebpcoretemplatetagsphp">trunk/bp-core/bp-core-templatetags.php</a></li>
<li><a href="#trunkbpcorebpcorewpabstractionphp">trunk/bp-core/bp-core-wpabstraction.php</a></li>
<li><a href="#trunkbpcorephp">trunk/bp-core.php</a></li>
<li><a href="#trunkbpforumsbpforumsadminphp">trunk/bp-forums/bp-forums-admin.php</a></li>
<li><a href="#trunkbpthemesbpdefaultfooterphp">trunk/bp-themes/bp-default/footer.php</a></li>
<li><a href="#trunkbpthemesbpdefaultheaderphp">trunk/bp-themes/bp-default/header.php</a></li>
<li><a href="#trunkbpthemesbpdefaultregistrationregisterphp">trunk/bp-themes/bp-default/registration/register.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpblogsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-blogs.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-blogs.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-blogs.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx"> function bp_blogs_check_installed() {
</span><span class="cx">         global $wpdb, $bp, $userdata;
</span><span class="cx"> 
</span><del>-        if ( is_site_admin() &amp;&amp; bp_core_is_multiblog_install() ) {
</del><ins>+        if ( is_site_admin() &amp;&amp; bp_core_is_multisite() ) {
</ins><span class="cx">                 /* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */
</span><span class="cx">                 if ( get_site_option('bp-blogs-db-version') &lt; BP_BLOGS_DB_VERSION )
</span><span class="cx">                         bp_blogs_install();
</span><span class="lines">@@ -123,7 +123,7 @@
</span><span class="cx"> 
</span><span class="cx">         /* Blog/post/comment menus should not appear on single WordPress setups. Although comments
</span><span class="cx">            and posts made by users will still show on their activity stream .*/
</span><del>-        if ( !bp_core_is_multiblog_install() )
</del><ins>+        if ( !bp_core_is_multisite() )
</ins><span class="cx">                 return false;
</span><span class="cx"> 
</span><span class="cx">         /* Add 'Blogs' to the main navigation */
</span><span class="lines">@@ -157,7 +157,7 @@
</span><span class="cx"> function bp_blogs_directory_blogs_setup() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><del>-        if ( bp_core_is_multiblog_install() &amp;&amp; $bp-&gt;current_component == $bp-&gt;blogs-&gt;slug &amp;&amp; empty( $bp-&gt;current_action ) ) {
</del><ins>+        if ( bp_core_is_multisite() &amp;&amp; $bp-&gt;current_component == $bp-&gt;blogs-&gt;slug &amp;&amp; empty( $bp-&gt;current_action ) ) {
</ins><span class="cx">                 $bp-&gt;is_directory = true;
</span><span class="cx"> 
</span><span class="cx">                 do_action( 'bp_blogs_directory_blogs_setup' );
</span><span class="lines">@@ -178,7 +178,7 @@
</span><span class="cx"> function bp_blogs_screen_my_blogs() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><del>-        if ( !bp_core_is_multiblog_install() )
</del><ins>+        if ( !bp_core_is_multisite() )
</ins><span class="cx">                 return false;
</span><span class="cx"> 
</span><span class="cx">         do_action( 'bp_blogs_screen_my_blogs' );
</span><span class="lines">@@ -198,7 +198,7 @@
</span><span class="cx"> function bp_blogs_screen_create_a_blog() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><del>-        if ( !bp_core_is_multiblog_install() || $bp-&gt;current_component != $bp-&gt;blogs-&gt;slug || 'create' != $bp-&gt;current_action )
</del><ins>+        if ( !bp_core_is_multisite() || $bp-&gt;current_component != $bp-&gt;blogs-&gt;slug || 'create' != $bp-&gt;current_action )
</ins><span class="cx">                 return false;
</span><span class="cx"> 
</span><span class="cx">         if ( !is_user_logged_in() || !bp_blog_signup_enabled() )
</span><span class="lines">@@ -361,7 +361,7 @@
</span><span class="cx">                 if ( 'publish' == $post-&gt;post_status &amp;&amp; '' == $post-&gt;post_password ) {
</span><span class="cx"> 
</span><span class="cx">                         /* If we're on a multiblog install, record this post */
</span><del>-                        if ( bp_core_is_multiblog_install() ) {
</del><ins>+                        if ( bp_core_is_multisite() ) {
</ins><span class="cx">                                 $recorded_post = new BP_Blogs_Post;
</span><span class="cx">                                 $recorded_post-&gt;user_id = $user_id;
</span><span class="cx">                                 $recorded_post-&gt;blog_id = $blog_id;
</span><span class="lines">@@ -373,7 +373,7 @@
</span><span class="cx">                                 bp_blogs_update_blogmeta( $recorded_post-&gt;blog_id, 'last_activity', time() );
</span><span class="cx">                         }
</span><span class="cx"> 
</span><del>-                        if ( (int)get_blog_option( $blog_id, 'blog_public' ) || !bp_core_is_multiblog_install() ) {
</del><ins>+                        if ( (int)get_blog_option( $blog_id, 'blog_public' ) || !bp_core_is_multisite() ) {
</ins><span class="cx">                                 /* Record this in activity streams */
</span><span class="cx">                                 $post_permalink = bp_post_get_permalink( $post, $blog_id );
</span><span class="cx"> 
</span><span class="lines">@@ -410,7 +410,7 @@
</span><span class="cx">                         bp_blogs_record_post( $post_id );
</span><span class="cx">                 }
</span><span class="cx"> 
</span><del>-                if ( (int)get_blog_option( $blog_id, 'blog_public' ) || !bp_core_is_multiblog_install() ) {
</del><ins>+                if ( (int)get_blog_option( $blog_id, 'blog_public' ) || !bp_core_is_multisite() ) {
</ins><span class="cx">                         /* Now re-record the post in the activity streams */
</span><span class="cx">                         $post_permalink = bp_post_get_permalink( $post, $blog_id );
</span><span class="cx"> 
</span><span class="lines">@@ -454,7 +454,7 @@
</span><span class="cx">                 return false;
</span><span class="cx"> 
</span><span class="cx">         /* If we're on a multiblog install, record this post */
</span><del>-        if ( bp_core_is_multiblog_install() ) {
</del><ins>+        if ( bp_core_is_multisite() ) {
</ins><span class="cx">                 $recorded_comment = new BP_Blogs_Comment;
</span><span class="cx">                 $recorded_comment-&gt;user_id = $user_id;
</span><span class="cx">                 $recorded_comment-&gt;blog_id = $wpdb-&gt;blogid;
</span><span class="lines">@@ -467,7 +467,7 @@
</span><span class="cx">                 bp_blogs_update_blogmeta( $recorded_comment-&gt;blog_id, 'last_activity', time() );
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        if ( (int)get_blog_option( $recorded_comment-&gt;blog_id, 'blog_public' ) || !bp_core_is_multiblog_install() ) {
</del><ins>+        if ( (int)get_blog_option( $recorded_comment-&gt;blog_id, 'blog_public' ) || !bp_core_is_multisite() ) {
</ins><span class="cx">                 /* Record in activity streams */
</span><span class="cx">                 $comment_link = bp_post_get_permalink( $comment-&gt;post, $wpdb-&gt;blogid ) . '#comment-' . $comment_id;
</span><span class="cx">                 $activity_content = sprintf( __( '%s commented on the blog post %s', 'buddypress' ), bp_core_get_userlink( $user_id ), '&lt;a href=&quot;' . $comment_link . '#comment-' . $comment-&gt;comment_ID . '&quot;&gt;' . $comment-&gt;post-&gt;post_title . '&lt;/a&gt;' );
</span><span class="lines">@@ -501,7 +501,7 @@
</span><span class="cx"> 
</span><span class="cx">         bp_blogs_delete_activity( array( 'item_id' =&gt; $comment_id, 'secondary_item_id' =&gt; $recorded_comment-&gt;blog_id, 'component_name' =&gt; $bp-&gt;blogs-&gt;slug, 'component_action' =&gt; 'new_blog_comment' ) );
</span><span class="cx"> 
</span><del>-        if ( (int)get_blog_option( $recorded_comment-&gt;blog_id, 'blog_public' ) || !bp_core_is_multiblog_install() ) {
</del><ins>+        if ( (int)get_blog_option( $recorded_comment-&gt;blog_id, 'blog_public' ) || !bp_core_is_multisite() ) {
</ins><span class="cx">                 /* Record in activity streams */
</span><span class="cx">                 $comment_link = bp_post_get_permalink( $comment-&gt;post, $recorded_comment-&gt;blog_id );
</span><span class="cx">                 $activity_content = sprintf( __( '%s commented on the blog post %s', 'buddypress' ), bp_core_get_userlink( $recorded_comment-&gt;user_id ), '&lt;a href=&quot;' . $comment_link . '#comment-' . $comment-&gt;comment_ID . '&quot;&gt;' . $comment-&gt;post-&gt;post_title . '&lt;/a&gt;' );
</span></span></pre></div>
<a id="trunkbpcorebpcoreactivationphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-activation.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-activation.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-core/bp-core-activation.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -3,7 +3,7 @@
</span><span class="cx"> function bp_core_screen_activation() {
</span><span class="cx">         global $bp, $wpdb;
</span><span class="cx"> 
</span><del>-        if ( !bp_core_is_multiblog_install() || BP_ACTIVATION_SLUG != $bp-&gt;current_component )
</del><ins>+        if ( !bp_core_is_multisite() || BP_ACTIVATION_SLUG != $bp-&gt;current_component )
</ins><span class="cx">                 return false;
</span><span class="cx"> 
</span><span class="cx">         /* Check if an activation key has been passed */
</span></span></pre></div>
<a id="trunkbpcorebpcoreadminbarphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-adminbar.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-adminbar.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-core/bp-core-adminbar.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -248,7 +248,7 @@
</span><span class="cx">                         &lt;li class=&quot;alt&quot;&gt;&lt;a href=&quot;&lt;?php echo $bp-&gt;root_domain . '/' . $bp-&gt;groups-&gt;slug . '/?random-group' ?&gt;&quot;&gt;&lt;?php _e( 'Random Group', 'buddypress' ) ?&gt;&lt;/a&gt;&lt;/li&gt;
</span><span class="cx">                         &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><del>-                        &lt;?php if ( function_exists('bp_blogs_install') &amp;&amp; bp_core_is_multiblog_install() ) : ?&gt;
</del><ins>+                        &lt;?php if ( function_exists('bp_blogs_install') &amp;&amp; bp_core_is_multisite() ) : ?&gt;
</ins><span class="cx">                         &lt;li&gt;&lt;a href=&quot;&lt;?php echo $bp-&gt;root_domain . '/' . $bp-&gt;blogs-&gt;slug . '/?random-blog' ?&gt;&quot;&gt;&lt;?php _e( 'Random Blog', 'buddypress' ) ?&gt;&lt;/a&gt;&lt;/li&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;?php endif; ?&gt;
</span><span class="lines">@@ -263,12 +263,12 @@
</span><span class="cx"> add_action( 'bp_adminbar_menus', 'bp_adminbar_login_menu', 2 );
</span><span class="cx"> add_action( 'bp_adminbar_menus', 'bp_adminbar_account_menu', 4 );
</span><span class="cx"> 
</span><del>-if ( bp_core_is_multiblog_install() )
</del><ins>+if ( bp_core_is_multisite() )
</ins><span class="cx">         add_action( 'bp_adminbar_menus', 'bp_adminbar_blogs_menu', 6 );
</span><span class="cx"> 
</span><span class="cx"> add_action( 'bp_adminbar_menus', 'bp_adminbar_notifications_menu', 8 );
</span><span class="cx"> 
</span><del>-if ( bp_core_is_multiblog_install() )
</del><ins>+if ( bp_core_is_multisite() )
</ins><span class="cx">         add_action( 'bp_adminbar_menus', 'bp_adminbar_authors_menu', 12 );
</span><span class="cx"> 
</span><span class="cx"> add_action( 'bp_adminbar_menus', 'bp_adminbar_random_menu', 100 );
</span></span></pre></div>
<a id="trunkbpcorebpcoreavatarsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-avatars.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-avatars.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-core/bp-core-avatars.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -368,7 +368,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> function bp_core_avatar_upload_path() {
</span><del>-        if ( bp_core_is_multiblog_install() )
</del><ins>+        if ( bp_core_is_multisite() )
</ins><span class="cx">                 $path = ABSPATH . get_blog_option( BP_ROOT_BLOG, 'upload_path' );
</span><span class="cx">         else {
</span><span class="cx">                 if ( !$path = get_option( 'upload_path' ) )
</span></span></pre></div>
<a id="trunkbpcorebpcorecatchuriphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-catchuri.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-catchuri.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-core/bp-core-catchuri.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">         global $bp_unfiltered_uri;
</span><span class="cx">         global $bp, $current_blog;
</span><span class="cx"> 
</span><del>-        if ( !defined( 'BP_ENABLE_MULTIBLOG' ) &amp;&amp; bp_core_is_multiblog_install() ) {
</del><ins>+        if ( !defined( 'BP_ENABLE_MULTIBLOG' ) &amp;&amp; bp_core_is_multisite() ) {
</ins><span class="cx">                 /* Only catch URI's on the root blog if we are not running BP on multiple blogs */
</span><span class="cx">                 if ( BP_ROOT_BLOG != (int) $current_blog-&gt;blog_id )
</span><span class="cx">                         return false;
</span></span></pre></div>
<a id="trunkbpcorebpcoresignupphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-signup.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-signup.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-core/bp-core-signup.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -124,7 +124,7 @@
</span><span class="cx">                                 $usermeta = apply_filters( 'bp_signup_usermeta', $usermeta );
</span><span class="cx"> 
</span><span class="cx">                                 /* Finally, sign up the user and/or blog*/
</span><del>-                                if ( isset( $_POST['signup_with_blog'] ) &amp;&amp; bp_core_is_multiblog_install() )
</del><ins>+                                if ( isset( $_POST['signup_with_blog'] ) &amp;&amp; bp_core_is_multisite() )
</ins><span class="cx">                                         wpmu_signup_blog( $blog_details['domain'], $blog_details['path'], $blog_details['blog_title'], $_POST['signup_username'], $_POST['signup_email'], $usermeta );
</span><span class="cx">                                 else {
</span><span class="cx">                                         bp_core_signup_user( $_POST['signup_username'], $_POST['signup_password'], $_POST['signup_email'], $usermeta );
</span><span class="lines">@@ -148,7 +148,7 @@
</span><span class="cx"> 
</span><span class="cx">                 $bp-&gt;signup-&gt;step = 'completed-confirmation';
</span><span class="cx"> 
</span><del>-                if ( bp_core_is_multiblog_install() ) {
</del><ins>+                if ( bp_core_is_multisite() ) {
</ins><span class="cx">                         /* Get the activation key */
</span><span class="cx">                         if ( !$bp-&gt;signup-&gt;key = $wpdb-&gt;get_var( $wpdb-&gt;prepare( &quot;SELECT activation_key FROM {$wpdb-&gt;signups} WHERE user_login = %s AND user_email = %s&quot;, $_POST[ 'signup_username' ], $_POST[ 'signup_email' ] ) ) ) {
</span><span class="cx">                                 bp_core_add_message( __( 'There was a problem uploading your avatar, please try uploading it again', 'buddypress' ) );
</span><span class="lines">@@ -191,7 +191,7 @@
</span><span class="cx"> function bp_core_signup_user( $user_login, $user_password, $user_email, $usermeta ) {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><del>-        if ( bp_core_is_multiblog_install() )
</del><ins>+        if ( bp_core_is_multisite() )
</ins><span class="cx">                 return wpmu_signup_user( $user_login, $user_email, $usermeta );
</span><span class="cx"> 
</span><span class="cx">         $errors = new WP_Error();
</span></span></pre></div>
<a id="trunkbpcorebpcoretemplatetagsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-templatetags.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-templatetags.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-core/bp-core-templatetags.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -1234,7 +1234,7 @@
</span><span class="cx">         echo bp_get_signup_allowed();
</span><span class="cx"> }
</span><span class="cx">         function bp_get_signup_allowed() {
</span><del>-                if ( bp_core_is_multiblog_install() )
</del><ins>+                if ( bp_core_is_multisite() )
</ins><span class="cx">                         return get_site_option( 'registration' );
</span><span class="cx">                 else {
</span><span class="cx">                         if ( (int)get_option( 'users_can_register') )
</span><span class="lines">@@ -1251,7 +1251,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> function bp_registration_needs_activation() {
</span><del>-        return apply_filters( 'bp_registration_needs_activation', bp_core_is_multiblog_install() );
</del><ins>+        return apply_filters( 'bp_registration_needs_activation', bp_core_is_multisite() );
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpcorebpcorewpabstractionphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-wpabstraction.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-wpabstraction.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-core/bp-core-wpabstraction.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -9,12 +9,15 @@
</span><span class="cx">  * the 3.0 WordPress version merge takes place.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-if ( !bp_core_is_multiblog_install() ) {
</del><ins>+if ( !bp_core_is_multisite() ) {
</ins><span class="cx">         $wpdb-&gt;base_prefix = $wpdb-&gt;prefix;
</span><span class="cx">         $wpdb-&gt;blogid = 1;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-function bp_core_is_multiblog_install() {
</del><ins>+function bp_core_is_multisite() {
+        if ( function_exists( 'is_multisite' ) )
+                return is_multisite();
+
</ins><span class="cx">         if ( !function_exists( 'wpmu_signup_blog' ) )
</span><span class="cx">                 return false;
</span><span class="cx"> 
</span><span class="lines">@@ -22,7 +25,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> function bp_core_get_status_sql( $prefix = false ) {
</span><del>-        if ( !bp_core_is_multiblog_install() )
</del><ins>+        if ( !bp_core_is_multisite() )
</ins><span class="cx">                 return &quot;{$prefix}user_status = 0&quot;;
</span><span class="cx">         else
</span><span class="cx">                 return &quot;{$prefix}spam = 0 AND {$prefix}deleted = 0 AND {$prefix}user_status = 0&quot;;
</span></span></pre></div>
<a id="trunkbpcorephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-core.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -426,7 +426,7 @@
</span><span class="cx">                 check_admin_referer( 'mark-unmark-spammer' );
</span><span class="cx"> 
</span><span class="cx">                 /* Get the functions file */
</span><del>-                if ( file_exists( ABSPATH . 'wp-admin/includes/mu.php' ) &amp;&amp; bp_core_is_multiblog_install() )
</del><ins>+                if ( file_exists( ABSPATH . 'wp-admin/includes/mu.php' ) &amp;&amp; bp_core_is_multisite() )
</ins><span class="cx">                         require( ABSPATH . 'wp-admin/includes/mu.php' );
</span><span class="cx"> 
</span><span class="cx">                 if ( 'mark-spammer' == $bp-&gt;current_action )
</span><span class="lines">@@ -450,7 +450,7 @@
</span><span class="cx">                 }
</span><span class="cx"> 
</span><span class="cx">                 /* Finally, mark this user as a spammer */
</span><del>-                if ( bp_core_is_multiblog_install() )
</del><ins>+                if ( bp_core_is_multisite() )
</ins><span class="cx">                         $wpdb-&gt;update( $wpdb-&gt;users, array( 'spam' =&gt; $is_spam ), array( 'ID' =&gt; $bp-&gt;displayed_user-&gt;id ) );
</span><span class="cx"> 
</span><span class="cx">                 $wpdb-&gt;update( $wpdb-&gt;users, array( 'user_status' =&gt; $is_spam ), array( 'ID' =&gt; $bp-&gt;displayed_user-&gt;id ) );
</span><span class="lines">@@ -1192,7 +1192,7 @@
</span><span class="cx"> function bp_core_is_user_spammer( $user_id ) {
</span><span class="cx">         global $wpdb;
</span><span class="cx"> 
</span><del>-        if ( bp_core_is_multiblog_install() )
</del><ins>+        if ( bp_core_is_multisite() )
</ins><span class="cx">                 $is_spammer = (int) $wpdb-&gt;get_var( $wpdb-&gt;prepare( &quot;SELECT spam FROM &quot; . CUSTOM_USER_TABLE . &quot; WHERE ID = %d&quot;, $user_id ) );
</span><span class="cx">         else
</span><span class="cx">                 $is_spammer = (int) $wpdb-&gt;get_var( $wpdb-&gt;prepare( &quot;SELECT user_status FROM &quot; . CUSTOM_USER_TABLE . &quot; WHERE ID = %d&quot;, $user_id ) );
</span><span class="lines">@@ -1476,7 +1476,7 @@
</span><span class="cx"> function bp_core_get_site_path() {
</span><span class="cx">         global $bp, $current_site;
</span><span class="cx"> 
</span><del>-        if ( bp_core_is_multiblog_install() )
</del><ins>+        if ( bp_core_is_multisite() )
</ins><span class="cx">                 $site_path = $current_site-&gt;path;
</span><span class="cx">         else {
</span><span class="cx">                 $site_path = (array) explode( '/', site_url() );
</span></span></pre></div>
<a id="trunkbpforumsbpforumsadminphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-forums/bp-forums-admin.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-forums/bp-forums-admin.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-forums/bp-forums-admin.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -158,7 +158,7 @@
</span><span class="cx">         $file .= &quot;\n\n&quot; . '$bb-&gt;uri = &quot;' . BP_PLUGIN_URL . '/bp-forums/bbpress/&quot;;';
</span><span class="cx">         $file .= &quot;\n&quot; .   '$bb-&gt;name = &quot;' . get_blog_option( BP_ROOT_BLOG, 'name' ) . ' ' . __( 'Forums', 'buddypress' ) . '&quot;;';
</span><span class="cx"> 
</span><del>-        if ( bp_core_is_multiblog_install() )
</del><ins>+        if ( bp_core_is_multisite() )
</ins><span class="cx">                 $file .= &quot;\n&quot; .   '$bb-&gt;wordpress_mu_primary_blog_id = ' . BP_ROOT_BLOG . ';';
</span><span class="cx"> 
</span><span class="cx">         if ( defined( 'AUTH_SALT' ) )
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultfooterphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/footer.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/footer.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-themes/bp-default/footer.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">                 &lt;?php do_action( 'bp_before_footer' ) ?&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;div id=&quot;footer&quot;&gt;
</span><del>-                        &lt;?php if ( bp_core_is_multiblog_install() ) : ?&gt;
</del><ins>+                        &lt;?php if ( bp_core_is_multisite() ) : ?&gt;
</ins><span class="cx">                             &lt;p&gt;&lt;?php printf( __( '%s is proudly powered by &lt;a href=&quot;http://mu.wordpress.org&quot;&gt;WordPress MU&lt;/a&gt; and &lt;a href=&quot;http://buddypress.org&quot;&gt;BuddyPress&lt;/a&gt;', 'buddypress' ), bloginfo('name') ); ?&gt;&lt;/p&gt;
</span><span class="cx">                         &lt;?php else : ?&gt;
</span><span class="cx">                             &lt;p&gt;&lt;?php printf( __( '%s is proudly powered by &lt;a href=&quot;http://wordpress.org&quot;&gt;WordPress&lt;/a&gt; and &lt;a href=&quot;http://buddypress.org&quot;&gt;BuddyPress&lt;/a&gt;', 'buddypress' ), bloginfo('name') ); ?&gt;&lt;/p&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/header.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/header.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-themes/bp-default/header.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx">                                         &lt;/li&gt;
</span><span class="cx">                                 &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php if ( function_exists( 'bp_blogs_install' ) &amp;&amp; bp_core_is_multiblog_install() ) : ?&gt;
</del><ins>+                                &lt;?php if ( function_exists( 'bp_blogs_install' ) &amp;&amp; bp_core_is_multisite() ) : ?&gt;
</ins><span class="cx">                                         &lt;li&lt;?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?&gt; class=&quot;selected&quot;&lt;?php endif; ?&gt;&gt;
</span><span class="cx">                                                 &lt;a href=&quot;&lt;?php echo site_url() ?&gt;/&lt;?php echo BP_BLOGS_SLUG ?&gt;/&quot; title=&quot;&lt;?php _e( 'Blogs', 'buddypress' ) ?&gt;&quot;&gt;&lt;?php _e( 'Blogs', 'buddypress' ) ?&gt;&lt;/a&gt;
</span><span class="cx">                                         &lt;/li&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultregistrationregisterphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/registration/register.php (2273 => 2274)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/registration/register.php        2010-01-06 20:44:44 UTC (rev 2273)
+++ trunk/bp-themes/bp-default/registration/register.php        2010-01-06 21:24:41 UTC (rev 2274)
</span><span class="lines">@@ -160,7 +160,7 @@
</span><span class="cx"> 
</span><span class="cx">                                 &lt;?php do_action( 'bp_after_signup_profile_fields' ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php if ( bp_core_is_multiblog_install() &amp;&amp; 'all' == bp_get_signup_allowed() || 'blog' == bp_get_signup_allowed() ) : ?&gt;
</del><ins>+                                &lt;?php if ( bp_core_is_multisite() &amp;&amp; 'all' == bp_get_signup_allowed() || 'blog' == bp_get_signup_allowed() ) : ?&gt;
</ins><span class="cx"> 
</span><span class="cx">                                         &lt;?php do_action( 'bp_before_blog_details_fields' ) ?&gt;
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>