<!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" />
<title>[BuddyPress][4066] branches/1.2: Update branch version numbers to 1.2.8 and required WordPress version to 3.1.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { 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 #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#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>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd>4066</dd>
<dt>Author</dt> <dd>johnjamesjacoby</dd>
<dt>Date</dt> <dd>2011-02-23 10:13:47 +0000 (Wed, 23 Feb 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>Update branch version numbers to 1.2.8 and required WordPress version to 3.1. Backport WordPress network admin compat code from trunk. Update and fix spelling errors in readme.txt. Update address in license.txt. Update bbPress installer for network admin.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branches12bpactivityphp">branches/1.2/bp-activity.php</a></li>
<li><a href="#branches12bpblogsphp">branches/1.2/bp-blogs.php</a></li>
<li><a href="#branches12bpcorebpcoreadminphp">branches/1.2/bp-core/bp-core-admin.php</a></li>
<li><a href="#branches12bpcorebpcorecssjsphp">branches/1.2/bp-core/bp-core-cssjs.php</a></li>
<li><a href="#branches12bpcorephp">branches/1.2/bp-core.php</a></li>
<li><a href="#branches12bpforumsbpforumsadminphp">branches/1.2/bp-forums/bp-forums-admin.php</a></li>
<li><a href="#branches12bpforumsphp">branches/1.2/bp-forums.php</a></li>
<li><a href="#branches12bpfriendsphp">branches/1.2/bp-friends.php</a></li>
<li><a href="#branches12bpgroupsphp">branches/1.2/bp-groups.php</a></li>
<li><a href="#branches12bploaderphp">branches/1.2/bp-loader.php</a></li>
<li><a href="#branches12bpmessagesphp">branches/1.2/bp-messages.php</a></li>
<li><a href="#branches12bpxprofilebpxprofilecssjsphp">branches/1.2/bp-xprofile/bp-xprofile-cssjs.php</a></li>
<li><a href="#branches12bpxprofilephp">branches/1.2/bp-xprofile.php</a></li>
<li><a href="#branches12licensetxt">branches/1.2/license.txt</a></li>
<li><a href="#branches12readmetxt">branches/1.2/readme.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branches12bpactivityphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-activity.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-activity.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-activity.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -98,8 +98,7 @@
</span><span class="cx">         if ( get_site_option( 'bp-activity-db-version' ) &lt; BP_ACTIVITY_DB_VERSION )
</span><span class="cx">                 bp_activity_install();
</span><span class="cx"> }
</span><del>-add_action( 'admin_menu', 'bp_activity_check_installed' );
-add_action( 'network_admin_menu', 'bp_activity_check_installed' );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_activity_check_installed' );
</ins><span class="cx"> 
</span><span class="cx"> function bp_activity_setup_root_component() {
</span><span class="cx">         /* Register 'activity' as a root component (for RSS feed use) */
</span></span></pre></div>
<a id="branches12bpblogsphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-blogs.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-blogs.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-blogs.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -60,8 +60,7 @@
</span><span class="cx">                         bp_blogs_install();
</span><span class="cx">         }
</span><span class="cx"> }
</span><del>-add_action( 'admin_menu', 'bp_blogs_check_installed' );
-add_action( 'network_admin_menu', 'bp_blogs_check_installed' );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_blogs_check_installed' );
</ins><span class="cx"> 
</span><span class="cx"> function bp_blogs_setup_globals() {
</span><span class="cx">         global $bp, $wpdb;
</span></span></pre></div>
<a id="branches12bpcorebpcoreadminphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-core/bp-core-admin.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-core/bp-core-admin.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-core/bp-core-admin.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -43,19 +43,19 @@
</span><span class="cx">                         &lt;tbody&gt;
</span><span class="cx">                                 &lt;?php if ( function_exists( 'xprofile_install' ) ) :?&gt;
</span><span class="cx">                                 &lt;tr&gt;
</span><del>-                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Base profile group name', 'buddypress' ) ?&gt;:&lt;/th&gt;
</del><ins>+                                        &lt;th scope=&quot;row&quot;&gt;&lt;p&gt;&lt;?php _e( 'Base profile group name', 'buddypress' ) ?&gt;:&lt;/p&gt;&lt;/th&gt;
</ins><span class="cx">                                         &lt;td&gt;
</span><span class="cx">                                                 &lt;input name=&quot;bp-admin[bp-xprofile-base-group-name]&quot; id=&quot;bp-xprofile-base-group-name&quot; value=&quot;&lt;?php echo get_site_option('bp-xprofile-base-group-name') ?&gt;&quot; /&gt;
</span><span class="cx">                                         &lt;/td&gt;
</span><span class="cx">                                 &lt;/tr&gt;
</span><span class="cx">                                 &lt;tr&gt;
</span><del>-                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Full Name field name', 'buddypress' ) ?&gt;:&lt;/th&gt;
</del><ins>+                                        &lt;th scope=&quot;row&quot;&gt;&lt;p&gt;&lt;?php _e( 'Full Name field name', 'buddypress' ) ?&gt;:&lt;/p&gt;&lt;/th&gt;
</ins><span class="cx">                                         &lt;td&gt;
</span><span class="cx">                                                 &lt;input name=&quot;bp-admin[bp-xprofile-fullname-field-name]&quot; id=&quot;bp-xprofile-fullname-field-name&quot; value=&quot;&lt;?php echo get_site_option('bp-xprofile-fullname-field-name') ?&gt;&quot; /&gt;
</span><span class="cx">                                         &lt;/td&gt;
</span><span class="cx">                                 &lt;/tr&gt;
</span><span class="cx">                                 &lt;tr&gt;
</span><del>-                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Disable BuddyPress to WordPress profile syncing?', 'buddypress' ) ?&gt;:&lt;/th&gt;
</del><ins>+                                        &lt;th scope=&quot;row&quot;&gt;&lt;p&gt;&lt;?php _e( 'Disable BuddyPress to WordPress profile syncing?', 'buddypress' ) ?&gt;:&lt;/p&gt;&lt;/th&gt;
</ins><span class="cx">                                         &lt;td&gt;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[bp-disable-profile-sync]&quot;&lt;?php if ( (int)get_site_option( 'bp-disable-profile-sync' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-disable-profile-sync&quot; value=&quot;1&quot; /&gt; &lt;?php _e( 'Yes', 'buddypress' ) ?&gt; &amp;nbsp;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[bp-disable-profile-sync]&quot;&lt;?php if ( !(int)get_site_option( 'bp-disable-profile-sync' ) || '' == get_site_option( 'bp-disable-profile-sync' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-disable-profile-sync&quot; value=&quot;0&quot; /&gt; &lt;?php _e( 'No', 'buddypress' ) ?&gt;
</span><span class="lines">@@ -63,21 +63,21 @@
</span><span class="cx">                                 &lt;/tr&gt;
</span><span class="cx">                                 &lt;?php endif; ?&gt;
</span><span class="cx">                                 &lt;tr&gt;
</span><del>-                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Hide admin bar for logged out users?', 'buddypress' ) ?&gt;:&lt;/th&gt;
</del><ins>+                                        &lt;th scope=&quot;row&quot;&gt;&lt;p&gt;&lt;?php _e( 'Hide admin bar for logged out users?', 'buddypress' ) ?&gt;:&lt;/p&gt;&lt;/th&gt;
</ins><span class="cx">                                         &lt;td&gt;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[hide-loggedout-adminbar]&quot;&lt;?php if ( (int)get_site_option( 'hide-loggedout-adminbar' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-admin-hide-loggedout-adminbar-yes&quot; value=&quot;1&quot; /&gt; &lt;?php _e( 'Yes', 'buddypress' ) ?&gt; &amp;nbsp;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[hide-loggedout-adminbar]&quot;&lt;?php if ( !(int)get_site_option( 'hide-loggedout-adminbar' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-admin-hide-loggedout-adminbar-no&quot; value=&quot;0&quot; /&gt; &lt;?php _e( 'No', 'buddypress' ) ?&gt;
</span><span class="cx">                                         &lt;/td&gt;
</span><span class="cx">                                 &lt;/tr&gt;
</span><span class="cx">                                 &lt;tr&gt;
</span><del>-                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Disable avatar uploads? (Gravatars will still work)', 'buddypress' ) ?&gt;:&lt;/th&gt;
</del><ins>+                                        &lt;th scope=&quot;row&quot;&gt;&lt;p&gt;&lt;?php _e( 'Disable avatar uploads? (Gravatars will still work)', 'buddypress' ) ?&gt;:&lt;/p&gt;&lt;/th&gt;
</ins><span class="cx">                                         &lt;td&gt;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[bp-disable-avatar-uploads]&quot;&lt;?php if ( (int)get_site_option( 'bp-disable-avatar-uploads' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-admin-disable-avatar-uploads-yes&quot; value=&quot;1&quot; /&gt; &lt;?php _e( 'Yes', 'buddypress' ) ?&gt; &amp;nbsp;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[bp-disable-avatar-uploads]&quot;&lt;?php if ( !(int)get_site_option( 'bp-disable-avatar-uploads' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-admin-disable-avatar-uploads-no&quot; value=&quot;0&quot; /&gt; &lt;?php _e( 'No', 'buddypress' ) ?&gt;
</span><span class="cx">                                         &lt;/td&gt;
</span><span class="cx">                                 &lt;/tr&gt;
</span><span class="cx">                                 &lt;tr&gt;
</span><del>-                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Disable user account deletion?', 'buddypress' ) ?&gt;:&lt;/th&gt;
</del><ins>+                                        &lt;th scope=&quot;row&quot;&gt;&lt;p&gt;&lt;?php _e( 'Disable user account deletion?', 'buddypress' ) ?&gt;:&lt;/p&gt;&lt;/th&gt;
</ins><span class="cx">                                         &lt;td&gt;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[bp-disable-account-deletion]&quot;&lt;?php if ( (int)get_site_option( 'bp-disable-account-deletion' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-disable-account-deletion&quot; value=&quot;1&quot; /&gt; &lt;?php _e( 'Yes', 'buddypress' ) ?&gt; &amp;nbsp;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[bp-disable-account-deletion]&quot;&lt;?php if ( !(int)get_site_option( 'bp-disable-account-deletion' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-disable-account-deletion&quot; value=&quot;0&quot; /&gt; &lt;?php _e( 'No', 'buddypress' ) ?&gt;
</span><span class="lines">@@ -85,7 +85,7 @@
</span><span class="cx">                                 &lt;/tr&gt;
</span><span class="cx">                                 &lt;?php if ( function_exists( 'bp_forums_setup') ) : ?&gt;
</span><span class="cx">                                 &lt;tr&gt;
</span><del>-                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Disable global forum directory?', 'buddypress' ) ?&gt;:&lt;/th&gt;
</del><ins>+                                        &lt;th scope=&quot;row&quot;&gt;&lt;p&gt;&lt;?php _e( 'Disable global forum directory?', 'buddypress' ) ?&gt;:&lt;/p&gt;&lt;/th&gt;
</ins><span class="cx">                                         &lt;td&gt;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[bp-disable-forum-directory]&quot;&lt;?php if ( (int)get_site_option( 'bp-disable-forum-directory' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-disable-forum-directory&quot; value=&quot;1&quot; /&gt; &lt;?php _e( 'Yes', 'buddypress' ) ?&gt; &amp;nbsp;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[bp-disable-forum-directory]&quot;&lt;?php if ( !(int)get_site_option( 'bp-disable-forum-directory' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-disable-forum-directory&quot; value=&quot;0&quot; /&gt; &lt;?php _e( 'No', 'buddypress' ) ?&gt;
</span><span class="lines">@@ -94,7 +94,7 @@
</span><span class="cx">                                 &lt;?php endif; ?&gt;
</span><span class="cx">                                 &lt;?php if ( function_exists( 'bp_activity_install') ) : ?&gt;
</span><span class="cx">                                 &lt;tr&gt;
</span><del>-                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Disable activity stream commenting on blog and forum posts?', 'buddypress' ) ?&gt;:&lt;/th&gt;
</del><ins>+                                        &lt;th scope=&quot;row&quot;&gt;&lt;p&gt;&lt;?php _e( 'Disable activity stream commenting on blog and forum posts?', 'buddypress' ) ?&gt;:&lt;/p&gt;&lt;/th&gt;
</ins><span class="cx">                                         &lt;td&gt;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[bp-disable-blogforum-comments]&quot;&lt;?php if ( (int)get_site_option( 'bp-disable-blogforum-comments' ) || false === get_site_option( 'bp-disable-blogforum-comments' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-disable-blogforum-comments&quot; value=&quot;1&quot; /&gt; &lt;?php _e( 'Yes', 'buddypress' ) ?&gt; &amp;nbsp;
</span><span class="cx">                                                 &lt;input type=&quot;radio&quot; name=&quot;bp-admin[bp-disable-blogforum-comments]&quot;&lt;?php if ( !(int)get_site_option( 'bp-disable-blogforum-comments' ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; id=&quot;bp-disable-blogforum-comments&quot; value=&quot;0&quot; /&gt; &lt;?php _e( 'No', 'buddypress' ) ?&gt;
</span><span class="lines">@@ -103,7 +103,7 @@
</span><span class="cx">                                 &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="cx">                                 &lt;tr&gt;
</span><del>-                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Default User Avatar', 'buddypress' ) ?&gt;&lt;/th&gt;
</del><ins>+                                        &lt;th scope=&quot;row&quot;&gt;&lt;p&gt;&lt;?php _e( 'Default User Avatar', 'buddypress' ) ?&gt;&lt;/p&gt;&lt;/th&gt;
</ins><span class="cx">                                         &lt;td&gt;
</span><span class="cx">                                                 &lt;p&gt;&lt;?php _e( 'For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their email address', 'buddypress' ) ?&gt;&lt;/p&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="branches12bpcorebpcorecssjsphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-core/bp-core-cssjs.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-core/bp-core-cssjs.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-core/bp-core-cssjs.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;?php
</span><span class="cx"> }
</span><del>-add_action( 'admin_head', 'bp_core_admin_menu_icon_css' );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_head', 'bp_core_admin_menu_icon_css' );
</ins><span class="cx"> 
</span><span class="cx"> function bp_core_confirmation_js() {
</span><span class="cx">         global $current_blog;
</span></span></pre></div>
<a id="branches12bpcorephp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-core.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-core.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-core.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -284,8 +284,7 @@
</span><span class="cx">         if ( get_site_option( 'bp-core-db-version' ) &lt; BP_CORE_DB_VERSION )
</span><span class="cx">                 bp_core_install();
</span><span class="cx"> }
</span><del>-add_action( 'admin_menu', 'bp_core_check_installed' );
-add_action( 'network_admin_menu', 'bp_core_check_installed' );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_core_check_installed' );
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * bp_core_add_admin_menu()
</span><span class="lines">@@ -317,8 +316,7 @@
</span><span class="cx">         add_submenu_page( 'bp-general-settings', __( 'General Settings', 'buddypress'), __( 'General Settings', 'buddypress' ), 'manage_options', 'bp-general-settings', 'bp_core_admin_settings' );
</span><span class="cx">         add_submenu_page( 'bp-general-settings', __( 'Component Setup', 'buddypress'), __( 'Component Setup', 'buddypress' ), 'manage_options', 'bp-component-setup', 'bp_core_admin_component_setup' );
</span><span class="cx"> }
</span><del>-add_action( 'admin_menu', 'bp_core_add_admin_menu' );
-add_action( 'network_admin_menu', 'bp_core_add_admin_menu' );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_core_add_admin_menu' );
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * bp_core_is_root_component()
</span></span></pre></div>
<a id="branches12bpforumsbpforumsadminphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-forums/bp-forums-admin.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-forums/bp-forums-admin.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-forums/bp-forums-admin.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -11,16 +11,18 @@
</span><span class="cx">                         &lt;div id=&quot;message&quot; class=&quot;updated fade&quot;&gt;
</span><span class="cx">                                 &lt;p&gt;&lt;?php _e( 'Settings Saved.', 'buddypress' ) ?&gt;&lt;/p&gt;
</span><span class="cx">                         &lt;/div&gt;
</span><del>-                &lt;?php endif; ?&gt;
</del><ins>+                &lt;?php endif;
</ins><span class="cx"> 
</span><del>-                &lt;?php
-
</del><span class="cx">                 if ( isset( $_REQUEST['reinstall'] ) || !bp_forums_is_installed_correctly() ) {
</span><span class="cx">                         update_site_option( 'bb-config-location', false );
</span><span class="cx">                         bp_forums_bbpress_install_wizard();
</span><del>-                } else { ?&gt;
-                        &lt;p&gt;&lt;?php printf( __( 'bbPress forum integration in BuddyPress has been set up correctly. If you are having problems you can &lt;a href=&quot;%s&quot; title=&quot;Reinstall bbPress&quot;&gt;re-install&lt;/a&gt;', 'buddypress' ), site_url( 'wp-admin/admin.php?page=bb-forums-setup&amp;reinstall=1' ) ); ?&gt;
</del><ins>+                } else {
+                        $url       = 'admin.php?page=bb-forums-setup&amp;reinstall=1';
+                        $reinstall = is_multisite() ? network_admin_url( $url ) : admin_url( $url ); ?&gt;
+
+                        &lt;p&gt;&lt;?php printf( __( 'bbPress forum integration in BuddyPress has been set up correctly. If you are having problems you can &lt;a href=&quot;%s&quot; title=&quot;Reinstall bbPress&quot;&gt;re-install&lt;/a&gt;', 'buddypress' ), $reinstall ); ?&gt;
</ins><span class="cx">                         &lt;p&gt;&lt;?php _e( 'NOTE: The forums directory will only work if your bbPress tables are in the same database as your WordPress tables. If you are not using an existing bbPress install you can ignore this message.', 'buddypress' ) ?&gt;&lt;/p&gt;
</span><ins>+
</ins><span class="cx">                 &lt;?php
</span><span class="cx">                 }
</span><span class="cx">                 ?&gt;
</span><span class="lines">@@ -29,7 +31,8 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> function bp_forums_bbpress_install_wizard() {
</span><del>-        $post_url = site_url( 'wp-admin/admin.php?page=bb-forums-setup' );
</del><ins>+        $url      = 'admin.php?page=bb-forums-setup';
+        $post_url = is_multisite() ? network_admin_url( $url ) : admin_url( $url );
</ins><span class="cx"> 
</span><span class="cx">         switch( $_REQUEST['step'] ) {
</span><span class="cx">                 case 'existing':
</span><span class="lines">@@ -67,7 +70,7 @@
</span><span class="cx">                                         default:
</span><span class="cx">                                                 // Just write the contents to screen
</span><span class="cx">                                                 _e( 'A configuration file could not be created. No problem, but you will need to save the text shown below into a file named &lt;code&gt;bb-config.php&lt;/code&gt; in the root directory of your WordPress installation before you can start using the forum functionality.', 'buddypress' );
</span><del>-                                                ?&gt;&lt;code style=&quot;display:block; margin-top: 30px;&quot;&gt;&lt;pre&gt;&lt;?php echo htmlspecialchars( $result ) ?&gt;&lt;/pre&gt;&lt;/code&gt;&lt;?php
</del><ins>+                                                ?&gt;&lt;br /&gt;&lt;textarea cols=&quot;110&quot; rows=&quot;50&quot; style=&quot;margin: 10px 0 50px 0;&quot;&gt;&lt;?php echo htmlspecialchars( $result ) ?&gt;&lt;/textarea&gt;&lt;?php
</ins><span class="cx">                                                 break;
</span><span class="cx">                                 }
</span><span class="cx">                         } else {
</span></span></pre></div>
<a id="branches12bpforumsphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-forums.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-forums.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-forums.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -102,8 +102,7 @@
</span><span class="cx">         /* Add the administration tab under the &quot;Site Admin&quot; tab for site administrators */
</span><span class="cx">         add_submenu_page( 'bp-general-settings', __( 'Forums Setup', 'buddypress' ), __( 'Forums Setup', 'buddypress' ), 'manage_options', 'bb-forums-setup', &quot;bp_forums_bbpress_admin&quot; );
</span><span class="cx"> }
</span><del>-add_action( 'admin_menu', 'bp_forums_add_admin_menu' );
-add_action( 'network_admin_menu', 'bp_forums_add_admin_menu' );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_forums_add_admin_menu' );
</ins><span class="cx"> 
</span><span class="cx"> /* Forum Functions */
</span><span class="cx"> 
</span></span></pre></div>
<a id="branches12bpfriendsphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-friends.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-friends.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-friends.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -61,8 +61,7 @@
</span><span class="cx">         if ( get_site_option( 'bp-friends-db-version' ) &lt; BP_FRIENDS_DB_VERSION )
</span><span class="cx">                 friends_install();
</span><span class="cx"> }
</span><del>-add_action( 'admin_menu', 'friends_check_installed' );
-add_action( 'network_admin_menu', 'friends_check_installed' );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'friends_check_installed' );
</ins><span class="cx"> 
</span><span class="cx"> function friends_setup_nav() {
</span><span class="cx">         global $bp;
</span></span></pre></div>
<a id="branches12bpgroupsphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-groups.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-groups.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-groups.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -116,8 +116,7 @@
</span><span class="cx">         if ( get_site_option( 'bp-groups-db-version' ) &lt; BP_GROUPS_DB_VERSION )
</span><span class="cx">                 groups_install();
</span><span class="cx"> }
</span><del>-add_action( 'admin_menu', 'groups_check_installed' );
-add_action( 'network_admin_menu', 'groups_check_installed' );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'groups_check_installed' );
</ins><span class="cx"> 
</span><span class="cx"> function groups_setup_nav() {
</span><span class="cx">         global $bp;
</span></span></pre></div>
<a id="branches12bploaderphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-loader.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-loader.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-loader.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -4,13 +4,12 @@
</span><span class="cx"> Plugin URI: http://buddypress.org
</span><span class="cx"> Description: Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress.
</span><span class="cx"> Author: The BuddyPress Community
</span><del>-Version: 1.2.7
</del><ins>+Version: 1.2.8
</ins><span class="cx"> Author URI: http://buddypress.org/community/members/
</span><del>-Site Wide Only: true
</del><span class="cx"> Network: true
</span><span class="cx"> */
</span><span class="cx"> 
</span><del>-define( 'BP_VERSION', '1.2.7' );
</del><ins>+define( 'BP_VERSION', '1.2.8' );
</ins><span class="cx"> 
</span><span class="cx"> /***
</span><span class="cx">  * This file will load in each BuddyPress component based on which
</span></span></pre></div>
<a id="branches12bpmessagesphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-messages.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-messages.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-messages.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -96,8 +96,7 @@
</span><span class="cx">         if ( get_site_option( 'bp-messages-db-version' ) &lt; BP_MESSAGES_DB_VERSION )
</span><span class="cx">                 messages_install();
</span><span class="cx"> }
</span><del>-add_action( 'admin_menu', 'messages_check_installed' );
-add_action( 'network_admin_menu', 'messages_check_installed' );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'messages_check_installed' );
</ins><span class="cx"> 
</span><span class="cx"> function messages_setup_nav() {
</span><span class="cx">         global $bp;
</span></span></pre></div>
<a id="branches12bpxprofilebpxprofilecssjsphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-xprofile/bp-xprofile-cssjs.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-xprofile/bp-xprofile-cssjs.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-xprofile/bp-xprofile-cssjs.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -8,8 +8,7 @@
</span><span class="cx">         if ( !empty( $_GET['page'] ) &amp;&amp; strpos( $_GET['page'], 'bp-profile-setup' ) !== false )
</span><span class="cx">                 wp_enqueue_style( 'xprofile-admin-css', BP_PLUGIN_URL . '/bp-xprofile/admin/css/admin.css' );
</span><span class="cx"> }
</span><del>-add_action( 'admin_menu', 'xprofile_add_admin_css' );
-add_action( 'network_admin_menu', 'xprofile_add_admin_css' );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'xprofile_add_admin_css' );
</ins><span class="cx"> 
</span><span class="cx"> function xprofile_add_admin_js() {
</span><span class="cx">         // If this is WP 3.1+ and multisite is enabled, only load on the Network Admin
</span><span class="lines">@@ -21,7 +20,6 @@
</span><span class="cx">                 wp_enqueue_script( 'xprofile-admin-js', BP_PLUGIN_URL . '/bp-xprofile/admin/js/admin.js', array( 'jquery' ) );
</span><span class="cx">         }
</span><span class="cx"> }
</span><del>-add_action( 'admin_menu', 'xprofile_add_admin_js', 1 );
-add_action( 'network_admin_menu', 'xprofile_add_admin_js', 1 );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'xprofile_add_admin_js', 1 );
</ins><span class="cx"> 
</span><span class="cx"> ?&gt;
</span><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="branches12bpxprofilephp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-xprofile.php (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-xprofile.php        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/bp-xprofile.php        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -151,8 +151,7 @@
</span><span class="cx">         if ( get_site_option( 'bp-xprofile-db-version' ) &lt; BP_XPROFILE_DB_VERSION )
</span><span class="cx">                 xprofile_install();
</span><span class="cx"> }
</span><del>-add_action( 'admin_menu', 'xprofile_add_admin_menu' );
-add_action( 'network_admin_menu', 'xprofile_add_admin_menu' );
</del><ins>+add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'xprofile_add_admin_menu' );
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * xprofile_setup_nav()
</span></span></pre></div>
<a id="branches12licensetxt"></a>
<div class="modfile"><h4>Modified: branches/1.2/license.txt (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/license.txt        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/license.txt        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -2,7 +2,8 @@
</span><span class="cx">                        Version 2, June 1991
</span><span class="cx"> 
</span><span class="cx">  Copyright (C) 1989, 1991 Free Software Foundation, Inc.
</span><del>-                          675 Mass Ave, Cambridge, MA 02139, USA
</del><ins>+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+
</ins><span class="cx">  Everyone is permitted to copy and distribute verbatim copies
</span><span class="cx">  of this license document, but changing it is not allowed.
</span><span class="cx"> 
</span></span></pre></div>
<a id="branches12readmetxt"></a>
<div class="modfile"><h4>Modified: branches/1.2/readme.txt (4065 => 4066)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/readme.txt        2011-02-21 16:30:29 UTC (rev 4065)
+++ branches/1.2/readme.txt        2011-02-23 10:13:47 UTC (rev 4066)
</span><span class="lines">@@ -1,9 +1,9 @@
</span><span class="cx"> === Plugin Name ===
</span><span class="cx"> Contributors: apeatling, johnjamesjacoby, MrMaz, DJPaul, boonebgorges
</span><span class="cx"> Tags: buddypress, social networking, activity, profiles, messaging, friends, groups, forums, microblogging, twitter, facebook, mingle, social, community, networks, networking, cms
</span><del>-Requires at least: 3.0
-Tested up to: 3.0.3
-Stable tag: 1.2.7
</del><ins>+Requires at least: 3.1
+Tested up to: 3.1
+Stable tag: 1.2.8
</ins><span class="cx"> 
</span><span class="cx"> == Description ==
</span><span class="cx"> 
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> 
</span><span class="cx"> Of course! First install and activate BuddyPress, then download and activate the &lt;a href=&quot;http://wordpress.org/extend/plugins/bp-template-pack/&quot;&gt;template extension pack&lt;/a&gt;. This plugin will run you through the process step-by-step.
</span><span class="cx"> 
</span><del>-Be sure to also try out the default theme bundled with BuddyPress. It provides all the awesome features of a standard WordPress blog, but also integrates the BuddyPress features both seamlessly and beautfully. It's also really easy to modify with custom header support, widget support and via a &lt;a href=&quot;http://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/&quot;&gt;child theme&lt;/a&gt;.
</del><ins>+Be sure to also try out the default theme bundled with BuddyPress. It provides all the awesome features of a standard WordPress blog, but also integrates the BuddyPress features both seamlessly and beautifully. It's also really easy to modify with custom header support, widget support and via a &lt;a href=&quot;http://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/&quot;&gt;child theme&lt;/a&gt;.
</ins><span class="cx"> 
</span><span class="cx"> = Will this work on standard WordPress and WordPress MU? =
</span><span class="cx"> 
</span><span class="lines">@@ -95,7 +95,7 @@
</span><span class="cx"> 
</span><span class="cx"> == Languages ==
</span><span class="cx"> 
</span><del>-BuddyPress is available in more than 20 languages. For more information about BuddyPress in your language please select a langauge site from the list below. Is your language missing? Please send a message to the &lt;a href=&quot;http://lists.automattic.com/mailman/listinfo/wp-polyglots&quot;&gt;WP-Polygots&lt;/a&gt; mailing list and request for your language to be set up.
</del><ins>+BuddyPress is available in more than 20 languages. For more information about BuddyPress in your language please select a language site from the list below. Is your language missing? Please send a message to the &lt;a href=&quot;http://lists.automattic.com/mailman/listinfo/wp-polyglots&quot;&gt;WP-Polygots&lt;/a&gt; mailing list and request for your language to be set up.
</ins><span class="cx"> 
</span><span class="cx"> *        &lt;a href=&quot;http://br.buddypress.org/&quot;&gt;Brasil&lt;/a&gt;
</span><span class="cx"> *        &lt;a href=&quot;http://ca.buddypress.org/&quot;&gt;Català&lt;/a&gt;
</span><span class="lines">@@ -117,12 +117,12 @@
</span><span class="cx"> *        &lt;a href=&quot;http://ko.buddypress.org/&quot;&gt;한국어&lt;/a&gt;
</span><span class="cx"> *        &lt;a href=&quot;http://tw.buddypress.org/&quot;&gt;正體中文&lt;/a&gt;
</span><span class="cx"> 
</span><del>-The &lt;a href=&quot;http://i18n.svn.buddypress.org/&quot;&gt;BuddyPress langauge file repository&lt;/a&gt; includes some language that have not yet set up a localization site.
</del><ins>+The &lt;a href=&quot;http://i18n.svn.buddypress.org/&quot;&gt;BuddyPress language file repository&lt;/a&gt; includes some language that have not yet set up a localization site.
</ins><span class="cx"> 
</span><span class="cx"> == Upgrade Notice ==
</span><span class="cx"> 
</span><del>-= 1.2.7 =
-Fixes over 10 bugs.
</del><ins>+= 1.2.8 =
+Compatibility with WordPress 3.1
</ins><span class="cx"> 
</span><span class="cx"> == Changelog ==
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>