<!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][5926] trunk: Replace ambiguous 'object' phpdoc references with more accurate descriptions for the $bp global</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><a href="http://buddypress.trac.wordpress.org/changeset/5926">5926</a></dd>
<dt>Author</dt> <dd>johnjamesjacoby</dd>
<dt>Date</dt> <dd>2012-03-16 00:52:24 +0000 (Fri, 16 Mar 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Replace ambiguous 'object' phpdoc references with more accurate descriptions for the $bp global</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpactivitybpactivityclassesphp">trunk/bp-activity/bp-activity-classes.php</a></li>
<li><a href="#trunkbpblogsbpblogsfunctionsphp">trunk/bp-blogs/bp-blogs-functions.php</a></li>
<li><a href="#trunkbpcoreadminbpcorefunctionsphp">trunk/bp-core/admin/bp-core-functions.php</a></li>
<li><a href="#trunkbpcorebpcoreavatarsphp">trunk/bp-core/bp-core-avatars.php</a></li>
<li><a href="#trunkbpcorebpcorebuddybarphp">trunk/bp-core/bp-core-buddybar.php</a></li>
<li><a href="#trunkbpcorebpcoreclassesphp">trunk/bp-core/bp-core-classes.php</a></li>
<li><a href="#trunkbpcorebpcorefunctionsphp">trunk/bp-core/bp-core-functions.php</a></li>
<li><a href="#trunkbpcorebpcoretemplatephp">trunk/bp-core/bp-core-template.php</a></li>
<li><a href="#trunkbpforumsbpforumsfunctionsphp">trunk/bp-forums/bp-forums-functions.php</a></li>
<li><a href="#trunkbpgroupsbpgroupsfunctionsphp">trunk/bp-groups/bp-groups-functions.php</a></li>
<li><a href="#trunkbpmembersbpmembersfunctionsphp">trunk/bp-members/bp-members-functions.php</a></li>
<li><a href="#trunkbpmembersbpmemberstemplatephp">trunk/bp-members/bp-members-template.php</a></li>
<li><a href="#trunkbpthemesbpdefaultfunctionsphp">trunk/bp-themes/bp-default/functions.php</a></li>
<li><a href="#trunkbpxprofilebpxprofileactivityphp">trunk/bp-xprofile/bp-xprofile-activity.php</a></li>
<li><a href="#trunkbpxprofilebpxprofileclassesphp">trunk/bp-xprofile/bp-xprofile-classes.php</a></li>
<li><a href="#trunkbpxprofilebpxprofilefunctionsphp">trunk/bp-xprofile/bp-xprofile-functions.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpactivitybpactivityclassesphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-activity/bp-activity-classes.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-activity/bp-activity-classes.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-activity/bp-activity-classes.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -403,7 +403,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Get activity comments that are associated with a specific activity ID
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @global wpdb $wpdb WordPress database object
</span><span class="cx">          * @param int $activity_id Activity ID to fetch comments for
</span><span class="cx">          * @param int $left Left-most node boundary
</span></span></pre></div>
<a id="trunkbpblogsbpblogsfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-blogs/bp-blogs-functions.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-blogs/bp-blogs-functions.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-blogs/bp-blogs-functions.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -7,7 +7,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  *
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @return bool True if set, False if empty
</span><span class="cx">  */
</span><span class="cx"> function bp_blogs_has_directory() {
</span></span></pre></div>
<a id="trunkbpcoreadminbpcorefunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/admin/bp-core-functions.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/admin/bp-core-functions.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-core/admin/bp-core-functions.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -130,7 +130,7 @@
</span><span class="cx">  * @package BuddyPress Core
</span><span class="cx">  * @since 1.5
</span><span class="cx">  *
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @uses bp_current_user_can() to check current user permissions before showing the notices
</span><span class="cx">  * @uses bp_is_root_blog()
</span><span class="cx">  */
</span><span class="lines">@@ -170,7 +170,7 @@
</span><span class="cx">  * @package BuddyPress Core
</span><span class="cx">  * @since 1.5
</span><span class="cx">  *
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @param string $notice The notice you are adding to the queue
</span><span class="cx">  */
</span><span class="cx"> function bp_core_add_admin_notice( $notice ) {
</span></span></pre></div>
<a id="trunkbpcorebpcoreavatarsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-avatars.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-avatars.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-core/bp-core-avatars.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -77,7 +77,7 @@
</span><span class="cx">  * Fetches an avatar from a BuddyPress object. Supports user/group/blog as
</span><span class="cx">  * default, but can be extended to include your own custom components too.
</span><span class="cx">  *
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @global $current_blog WordPress global containing information and settings for the current blog being viewed.
</span><span class="cx">  * @param array $args Determine the output of this function
</span><span class="cx">  * @return string Formatted HTML &lt;img&gt; element, or raw avatar URL based on $html arg
</span></span></pre></div>
<a id="trunkbpcorebpcorebuddybarphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-buddybar.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-buddybar.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-core/bp-core-buddybar.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -15,7 +15,7 @@
</span><span class="cx">  * Adds a navigation item to the main navigation array used in BuddyPress themes.
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress Core
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  */
</span><span class="cx"> function bp_core_new_nav_item( $args = '' ) {
</span><span class="cx">         global $bp;
</span><span class="lines">@@ -120,7 +120,7 @@
</span><span class="cx">  * Modify the default subnav item to load when a top level nav item is clicked.
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress Core
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  */
</span><span class="cx"> function bp_core_new_nav_default( $args = '' ) {
</span><span class="cx">         global $bp;
</span><span class="lines">@@ -190,7 +190,7 @@
</span><span class="cx">  * plugins have registered their navigation items.
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress Core
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  */
</span><span class="cx"> function bp_core_sort_nav_items() {
</span><span class="cx">         global $bp;
</span><span class="lines">@@ -223,7 +223,7 @@
</span><span class="cx">  * Adds a navigation item to the sub navigation array used in BuddyPress themes.
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress Core
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  */
</span><span class="cx"> function bp_core_new_subnav_item( $args = '' ) {
</span><span class="cx">         global $bp;
</span><span class="lines">@@ -451,7 +451,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress Core
</span><span class="cx">  * @param $parent_id The id of the parent navigation item.
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  */
</span><span class="cx"> function bp_core_reset_subnav_items( $parent_slug ) {
</span><span class="cx">         global $bp;
</span></span></pre></div>
<a id="trunkbpcorebpcoreclassesphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-classes.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-classes.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-core/bp-core-classes.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -373,7 +373,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Fetches the user details for all the users who username starts with the letter given.
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @global wpdb $wpdb WordPress database object
</span><span class="cx">          * @param string $letter The letter the users names are to start with.
</span><span class="cx">          * @param integer $limit The number of users we wish to retrive.
</span><span class="lines">@@ -481,7 +481,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Find users who match on the value of an xprofile data.
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @global wpdb $wpdb WordPress database object
</span><span class="cx">          * @param string $search_terms The terms to search the profile table value column for.
</span><span class="cx">          * @param integer $limit The limit of results we want.
</span><span class="lines">@@ -525,7 +525,7 @@
</span><span class="cx">          *
</span><span class="cx">          * Accepts multiple user IDs to fetch data for.
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @global wpdb $wpdb WordPress database object
</span><span class="cx">          * @param array $paged_users an array of stdClass containing the users
</span><span class="cx">          * @param string $user_ids the user ids to select information about
</span><span class="lines">@@ -706,7 +706,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Update or insert notification details into the database.
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @global wpdb $wpdb WordPress database object
</span><span class="cx">          * @return bool Success or failure
</span><span class="cx">          */
</span><span class="lines">@@ -735,7 +735,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Fetches the notification data from the database.
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @global wpdb $wpdb WordPress database object
</span><span class="cx">          */
</span><span class="cx">         private function populate() {
</span><span class="lines">@@ -763,7 +763,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Fetches all the notifications in the database for a specific user.
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @global wpdb $wpdb WordPress database object
</span><span class="cx">          * @param integer $user_id User ID
</span><span class="cx">          * @param str $status 'is_new' or 'all'
</span><span class="lines">@@ -781,7 +781,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Delete all the notifications for a user based on the component name and action.
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @global wpdb $wpdb WordPress database object
</span><span class="cx">          * @param integer $user_id
</span><span class="cx">          * @param string $component_name
</span><span class="lines">@@ -797,7 +797,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Delete all the notifications that have a specific item id, component name and action.
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @global wpdb $wpdb WordPress database object
</span><span class="cx">          * @param integer $user_id The ID of the user who the notifications are for.
</span><span class="cx">          * @param integer $item_id The item ID of the notifications we wish to delete.
</span><span class="lines">@@ -817,7 +817,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Deletes all the notifications sent by a specific user, by component and action.
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @global wpdb $wpdb WordPress database object
</span><span class="cx">          * @param integer $user_id The ID of the user whose sent notifications we wish to delete.
</span><span class="cx">          * @param string $component_name The name of the component the notification was sent from.
</span><span class="lines">@@ -833,7 +833,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Deletes all the notifications for all users by item id, and optional secondary item id, and component name and action.
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @global wpdb $wpdb WordPress database object
</span><span class="cx">          * @param string $item_id The item id that they notifications are to be for.
</span><span class="cx">          * @param string $component_name The component that the notifications are to be from.
</span></span></pre></div>
<a id="trunkbpcorebpcorefunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-functions.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-functions.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-core/bp-core-functions.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -322,7 +322,7 @@
</span><span class="cx">  * The hook action 'template_notices' is used to call this function, it is not called directly.
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress Core
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  */
</span><span class="cx"> function bp_core_render_message() {
</span><span class="cx">         global $bp;
</span><span class="lines">@@ -1105,7 +1105,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Trigger a 404
</span><span class="cx">  *
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @global WP_Query $wp_query WordPress query object
</span><span class="cx">  * @param string $redirect If 'remove_canonical_direct', remove WordPress' &quot;helpful&quot; redirect_canonical action.
</span><span class="cx">  * @since 1.5
</span></span></pre></div>
<a id="trunkbpcorebpcoretemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-template.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-template.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-core/bp-core-template.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -14,7 +14,7 @@
</span><span class="cx">  * or not to highlight a particular sub nav item.
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress Core
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @uses bp_get_user_nav() Renders the navigation for a profile of a currently viewed user.
</span><span class="cx">  */
</span><span class="cx"> function bp_get_options_nav() {
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx">  * like a group, or a friend. Basically an avatar that appears in the sub nav options bar.
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress Core
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  */
</span><span class="cx"> function bp_has_options_avatar() {
</span><span class="cx">         global $bp;
</span><span class="lines">@@ -649,7 +649,7 @@
</span><span class="cx">          * @package BuddyPress Core
</span><span class="cx">          * @since 1.5
</span><span class="cx">          *
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          * @param string $component Optional. Defaults to the current component
</span><span class="cx">          * @return string $root_slug The root slug
</span><span class="cx">          */
</span><span class="lines">@@ -685,7 +685,7 @@
</span><span class="cx">  * Return the component name based on the current root slug
</span><span class="cx">  *
</span><span class="cx">  * @since BuddyPress {r3923}
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @param str $root_slug Needle to our active component haystack
</span><span class="cx">  * @return mixed False if none found, component name if found
</span><span class="cx">  */
</span><span class="lines">@@ -953,7 +953,7 @@
</span><span class="cx">  * Checks if the site's front page is set to the specified BuddyPress component
</span><span class="cx">  * page in wp-admin's Settings &gt; Reading screen.
</span><span class="cx">  *
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @global $current_blog WordPress global for the current blog
</span><span class="cx">  * @param string $component Optional; Name of the component to check for.
</span><span class="cx">  * @return bool True If the specified component is set to be the site's front page.
</span></span></pre></div>
<a id="trunkbpforumsbpforumsfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-forums/bp-forums-functions.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-forums/bp-forums-functions.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-forums/bp-forums-functions.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  *
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @return bool True if set, False if empty
</span><span class="cx">  */
</span><span class="cx"> function bp_forums_has_directory() {
</span></span></pre></div>
<a id="trunkbpgroupsbpgroupsfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-groups/bp-groups-functions.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-groups/bp-groups-functions.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-groups/bp-groups-functions.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  *
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @return bool True if set, False if empty
</span><span class="cx">  */
</span><span class="cx"> function bp_groups_has_directory() {
</span></span></pre></div>
<a id="trunkbpmembersbpmembersfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-members/bp-members-functions.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-members/bp-members-functions.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-members/bp-members-functions.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -17,7 +17,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  *
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @return bool True if set, False if empty
</span><span class="cx">  */
</span><span class="cx"> function bp_members_has_directory() {
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">  * explicitly defined.
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress Core Core
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  */
</span><span class="cx"> function bp_core_define_slugs() {
</span><span class="cx">         global $bp;
</span><span class="lines">@@ -381,7 +381,7 @@
</span><span class="cx">  * Otherwise, it will fall back to the normal WP display_name, or user_nicename, depending on what has been set.
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress Core
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @uses wp_cache_get() Will try and fetch the value from the cache, rather than querying the DB again.
</span><span class="cx">  * @uses get_userdata() Fetches the WP userdata for a specific user.
</span><span class="cx">  * @uses xprofile_set_field_data() Will update the field data for a user based on field name and user id.
</span></span></pre></div>
<a id="trunkbpmembersbpmemberstemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-members/bp-members-template.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-members/bp-members-template.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-members/bp-members-template.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -692,7 +692,7 @@
</span><span class="cx">  * @package BuddyPress Core
</span><span class="cx">  * @todo Move to a back-compat file?
</span><span class="cx">  * @deprecated Does not seem to be called anywhere in the core
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  */
</span><span class="cx"> function bp_get_loggedin_user_nav() {
</span><span class="cx">         global $bp;
</span><span class="lines">@@ -738,7 +738,7 @@
</span><span class="cx">  * yourself.
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress Core
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  */
</span><span class="cx"> function bp_get_displayed_user_nav() {
</span><span class="cx">         global $bp;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/functions.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/functions.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-themes/bp-default/functions.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -57,7 +57,7 @@
</span><span class="cx">  * To override bp_dtheme_setup() in a child theme, add your own bp_dtheme_setup to your child theme's
</span><span class="cx">  * functions.php file.
</span><span class="cx">  *
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @since 1.5
</span><span class="cx">  */
</span><span class="cx"> function bp_dtheme_setup() {
</span></span></pre></div>
<a id="trunkbpxprofilebpxprofileactivityphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-xprofile/bp-xprofile-activity.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-xprofile/bp-xprofile-activity.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-xprofile/bp-xprofile-activity.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -78,7 +78,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress XProfile
</span><span class="cx">  * @param $args Array containing all variables used after extract() call
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @uses bp_activity_delete() Deletes an entry to the activity component tables for a specific activity
</span><span class="cx">  */
</span><span class="cx"> function xprofile_delete_activity( $args = '' ) {
</span><span class="lines">@@ -112,7 +112,7 @@
</span><span class="cx">  * Adds an activity stream item when a user has uploaded a new avatar.
</span><span class="cx">  *
</span><span class="cx">  * @package BuddyPress XProfile
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @uses bp_activity_add() Adds an entry to the activity component tables for a specific activity
</span><span class="cx">  */
</span><span class="cx"> function bp_xprofile_new_avatar_activity() {
</span></span></pre></div>
<a id="trunkbpxprofilebpxprofileclassesphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-xprofile/bp-xprofile-classes.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-xprofile/bp-xprofile-classes.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-xprofile/bp-xprofile-classes.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx">          * @package BuddyPress XProfile
</span><span class="cx">          *
</span><span class="cx">          * @global $wpdb WordPress DB access object.
</span><del>-         * @global object $bp Global BuddyPress settings object
</del><ins>+         * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">          *
</span><span class="cx">          * @param array $args Takes an array of parameters:
</span><span class="cx">          *                'profile_group_id' - Limit results to a single profile group
</span></span></pre></div>
<a id="trunkbpxprofilebpxprofilefunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-xprofile/bp-xprofile-functions.php (5925 => 5926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-xprofile/bp-xprofile-functions.php        2012-03-16 00:49:51 UTC (rev 5925)
+++ trunk/bp-xprofile/bp-xprofile-functions.php        2012-03-16 00:52:24 UTC (rev 5926)
</span><span class="lines">@@ -191,7 +191,7 @@
</span><span class="cx">  * @param $field The ID of the field, or the $name of the field.
</span><span class="cx">  * @param $user_id The ID of the user
</span><span class="cx">  * @param $value The value for the field you want to set for the user.
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @uses xprofile_get_field_id_from_name() Gets the ID for the field based on the name.
</span><span class="cx">  * @return true on success, false on failure.
</span><span class="cx">  */
</span><span class="lines">@@ -328,7 +328,7 @@
</span><span class="cx">  * @package BuddyPress Core
</span><span class="cx">  * @param $user_id User ID of the user to get random data for
</span><span class="cx">  * @param $exclude_fullname whether or not to exclude the full name field as random data.
</span><del>- * @global object $bp Global BuddyPress settings object
</del><ins>+ * @global BuddyPress $bp The one true BuddyPress instance
</ins><span class="cx">  * @global $wpdb WordPress DB access object.
</span><span class="cx">  * @global $current_user WordPress global variable containing current logged in user information
</span><span class="cx">  * @uses xprofile_format_profile_field() Formats profile field data so it is suitable for display.
</span></span></pre>
</div>
</div>

</body>
</html>