<!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][7560] trunk/bp-friends: Improve inline docs in bp-friends component.</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 { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { 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/7560">7560</a></dd>
<dt>Author</dt> <dd>boonebgorges</dd>
<dt>Date</dt> <dd>2013-11-11 02:03:09 +0000 (Mon, 11 Nov 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Improve inline docs in bp-friends component. See <a href="http://buddypress.trac.wordpress.org/ticket/5022">#5022</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpfriendsbpfriendsscreensphp">trunk/bp-friends/bp-friends-screens.php</a></li>
<li><a href="#trunkbpfriendsbpfriendstemplatephp">trunk/bp-friends/bp-friends-template.php</a></li>
<li><a href="#trunkbpfriendsbpfriendswidgetsphp">trunk/bp-friends/bp-friends-widgets.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpfriendsbpfriendsscreensphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-friends/bp-friends-screens.php (7559 => 7560)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-friends/bp-friends-screens.php  2013-11-11 01:47:36 UTC (rev 7559)
+++ trunk/bp-friends/bp-friends-screens.php     2013-11-11 02:03:09 UTC (rev 7560)
</span><span class="lines">@@ -3,9 +3,9 @@
</span><span class="cx"> /**
</span><span class="cx">  * BuddyPress Friends Screen Functions
</span><span class="cx">  *
</span><del>- * Screen functions are the controllers of BuddyPress. They will execute when their
- * specific URL is caught. They will first save or manipulate data using business
- * functions, then pass on the user to a template file.
</del><ins>+ * Screen functions are the controllers of BuddyPress. They will execute when
+ * their specific URL is caught. They will first save or manipulate data using
+ * business functions, then pass on the user to a template file.
</ins><span class="cx">  *
</span><span class="cx">  * @package BuddyPress
</span><span class="cx">  * @subpackage FriendsScreens
</span><span class="lines">@@ -14,6 +14,9 @@
</span><span class="cx"> // Exit if accessed directly
</span><span class="cx"> if ( !defined( 'ABSPATH' ) ) exit;
</span><span class="cx"> 
</span><ins>+/**
+ * Catch and process the My Friends page.
+ */
</ins><span class="cx"> function friends_screen_my_friends() {
</span><span class="cx"> 
</span><span class="cx">  // Delete any friendship acceptance notifications for the user when viewing a profile
</span><span class="lines">@@ -24,6 +27,9 @@
</span><span class="cx">  bp_core_load_template( apply_filters( 'friends_template_my_friends', 'members/single/home' ) );
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+/**
+ * Catch and process the Requests page.
+ */
</ins><span class="cx"> function friends_screen_requests() {
</span><span class="cx">  if ( bp_is_action_variable( 'accept', 0 ) && is_numeric( bp_action_variable( 1 ) ) ) {
</span><span class="cx">          // Check the nonce
</span><span class="lines">@@ -68,6 +74,9 @@
</span><span class="cx">  bp_core_load_template( apply_filters( 'friends_template_requests', 'members/single/home' ) );
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+/**
+ * Add Friends-related settings to the Settings > Notifications page.
+ */
</ins><span class="cx"> function friends_screen_notification_settings() {
</span><span class="cx"> 
</span><span class="cx">  if ( !$send_requests = bp_get_user_meta( bp_displayed_user_id(), 'notification_friends_friendship_request', true ) )
</span></span></pre></div>
<a id="trunkbpfriendsbpfriendstemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-friends/bp-friends-template.php (7559 => 7560)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-friends/bp-friends-template.php 2013-11-11 01:47:36 UTC (rev 7559)
+++ trunk/bp-friends/bp-friends-template.php    2013-11-11 02:03:09 UTC (rev 7560)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> <?php
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * BuddyPress Friends Template Functions
</del><ins>+ * BuddyPress Friends Template Functions.
</ins><span class="cx">  *
</span><span class="cx">  * @package BuddyPress
</span><span class="cx">  * @subpackage FriendsTemplate
</span><span class="lines">@@ -11,11 +11,9 @@
</span><span class="cx"> if ( !defined( 'ABSPATH' ) ) exit;
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Output the friends component slug
</del><ins>+ * Output the friends component slug.
</ins><span class="cx">  *
</span><del>- * @package BuddyPress
- * @subpackage Friends Template
- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses bp_get_friends_slug()
</span><span class="cx">  */
</span><span class="lines">@@ -23,11 +21,9 @@
</span><span class="cx">  echo bp_get_friends_slug();
</span><span class="cx"> }
</span><span class="cx">  /**
</span><del>-        * Return the friends component slug
</del><ins>+         * Return the friends component slug.
</ins><span class="cx">    *
</span><del>-        * @package BuddyPress
-        * @subpackage Friends Template
-        * @since BuddyPress (1.5)
</del><ins>+         * @since BuddyPress (1.5.0)
</ins><span class="cx">    */
</span><span class="cx">  function bp_get_friends_slug() {
</span><span class="cx">          global $bp;
</span><span class="lines">@@ -35,11 +31,9 @@
</span><span class="cx">  }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Output the friends component root slug
</del><ins>+ * Output the friends component root slug.
</ins><span class="cx">  *
</span><del>- * @package BuddyPress
- * @subpackage Friends Template
- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses bp_get_friends_root_slug()
</span><span class="cx">  */
</span><span class="lines">@@ -47,17 +41,22 @@
</span><span class="cx">  echo bp_get_friends_root_slug();
</span><span class="cx"> }
</span><span class="cx">  /**
</span><del>-        * Return the friends component root slug
</del><ins>+         * Return the friends component root slug.
</ins><span class="cx">    *
</span><del>-        * @package BuddyPress
-        * @subpackage Friends Template
-        * @since BuddyPress (1.5)
</del><ins>+         * @since BuddyPress (1.5.0)
</ins><span class="cx">    */
</span><span class="cx">  function bp_get_friends_root_slug() {
</span><span class="cx">          global $bp;
</span><span class="cx">          return apply_filters( 'bp_get_friends_root_slug', $bp->friends->root_slug );
</span><span class="cx">  }
</span><span class="cx"> 
</span><ins>+/**
+ * Output a block of random friends.
+ *
+ * No longer used in BuddyPress.
+ *
+ * @todo Deprecate
+ */
</ins><span class="cx"> function bp_friends_random_friends() {
</span><span class="cx"> 
</span><span class="cx">  if ( !$friend_ids = wp_cache_get( 'friends_friend_ids_' . bp_displayed_user_id(), 'bp' ) ) {
</span><span class="lines">@@ -98,13 +97,13 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Pull up a group of random members, and display some profile data about them
</del><ins>+ * Pull up a group of random members, and display some profile data about them.
</ins><span class="cx">  *
</span><span class="cx">  * This function is no longer used by BuddyPress core.
</span><span class="cx">  *
</span><del>- * @package BuddyPress
</del><ins>+ * @todo Deprecate
</ins><span class="cx">  *
</span><del>- * @param int $total_members The number of members to retrieve
</del><ins>+ * @param int $total_members The number of members to retrieve.
</ins><span class="cx">  */
</span><span class="cx"> function bp_friends_random_members( $total_members = 5 ) {
</span><span class="cx"> 
</span><span class="lines">@@ -163,6 +162,13 @@
</span><span class="cx"> <?php
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+/**
+ * Display a Friends search form.
+ *
+ * No longer used in BuddyPress.
+ *
+ * @todo Deprecate
+ */
</ins><span class="cx"> function bp_friend_search_form() {
</span><span class="cx"> 
</span><span class="cx">  $action = bp_displayed_user_domain() . bp_get_friends_slug() . '/my-friends/search/';
</span><span class="lines">@@ -182,6 +188,9 @@
</span><span class="cx">  <?php
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+/**
+ * Output the Add Friend button in member directories.
+ */
</ins><span class="cx"> function bp_member_add_friend_button() {
</span><span class="cx">  global $members_template;
</span><span class="cx"> 
</span><span class="lines">@@ -194,9 +203,19 @@
</span><span class="cx"> }
</span><span class="cx"> add_action( 'bp_directory_members_actions', 'bp_member_add_friend_button' );
</span><span class="cx"> 
</span><ins>+/**
+ * Output the friend count for the current member in the loop.
+ */
</ins><span class="cx"> function bp_member_total_friend_count() {
</span><span class="cx">  echo bp_get_member_total_friend_count();
</span><span class="cx"> }
</span><ins>+       /**
+        * Return the friend count for the current member in the loop.
+        *
+        * Return value is a string of the form "x friends".
+        *
+        * @return string A string of the form "x friends".
+        */
</ins><span class="cx">   function bp_get_member_total_friend_count() {
</span><span class="cx">          global $members_template;
</span><span class="cx"> 
</span><span class="lines">@@ -207,24 +226,23 @@
</span><span class="cx">  }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * bp_potential_friend_id( $user_id )
</del><ins>+ * Output the ID of the current user in the friend request loop.
</ins><span class="cx">  *
</span><del>- * Outputs the ID of the potential friend
</del><ins>+ * @see bp_get_potential_friend_id() for a description of arguments.
</ins><span class="cx">  *
</span><del>- * @uses bp_get_potential_friend_id()
- * @param int $user_id Optional
</del><ins>+ * @param int $user_id See {@link bp_get_potential_friend_id()}.
</ins><span class="cx">  */
</span><span class="cx"> function bp_potential_friend_id( $user_id = 0 ) {
</span><span class="cx">  echo bp_get_potential_friend_id( $user_id );
</span><span class="cx"> }
</span><span class="cx">  /**
</span><del>-        * bp_get_potential_friend_id( $user_id )
</del><ins>+         * Return the ID of current user in the friend request loop.
</ins><span class="cx">    *
</span><del>-        * Returns the ID of the potential friend
</del><ins>+         * @global object $friends_template
</ins><span class="cx">    *
</span><del>-        * @global object $friends_template
-        * @param int $user_id
-        * @return int ID of potential friend
</del><ins>+         * @param int $user_id Optional. If provided, the function will simply
+        *        return this value.
+        * @return int ID of potential friend.
</ins><span class="cx">    */
</span><span class="cx">  function bp_get_potential_friend_id( $user_id = 0 ) {
</span><span class="cx">          global $friends_template;
</span><span class="lines">@@ -238,12 +256,13 @@
</span><span class="cx">  }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * bp_is_friend( $user_id )
</del><ins>+ * Check whether a given user is a friend of the logged-in user.
</ins><span class="cx">  *
</span><del>- * Returns - 'is_friend', 'not_friends', 'pending'
</del><ins>+ * Returns - 'is_friend', 'not_friends', 'pending'.
</ins><span class="cx">  *
</span><del>- * @param int $potential_friend_id
- * @return string
</del><ins>+ * @param int $user_id ID of the potential friend. Default: the value of
+ *        {@link bp_get_potential_friend_id()}.
+ * @return string 'is_friend', 'not_friends', or 'pending'.
</ins><span class="cx">  */
</span><span class="cx"> function bp_is_friend( $user_id = 0 ) {
</span><span class="cx"> 
</span><span class="lines">@@ -259,9 +278,25 @@
</span><span class="cx">  return apply_filters( 'bp_is_friend', friends_check_friendship_status( bp_loggedin_user_id(), $user_id ), $user_id );
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+/**
+ * Output the Add Friend button.
+ *
+ * @see bp_get_add_friend_button() for information on arguments.
+ *
+ * @param int $potential_friend_id See {@link bp_get_add_friend_button()}.
+ * @param int $friend_status See {@link bp_get_add_friend_button()}.
+ */
</ins><span class="cx"> function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false ) {
</span><span class="cx">  echo bp_get_add_friend_button( $potential_friend_id, $friend_status );
</span><span class="cx"> }
</span><ins>+       /**
+        * Create the Add Friend button.
+        *
+        * @param int $potential_friend_id ID of the user to whom the button
+        *        applies. Default: value of {@link bp_get_potential_friend_id()}.
+        * @param bool $friend_status Not currently used.
+        * @return string HTML for the Add Friend button.
+        */
</ins><span class="cx">   function bp_get_add_friend_button( $potential_friend_id = 0, $friend_status = false ) {
</span><span class="cx"> 
</span><span class="cx">          if ( empty( $potential_friend_id ) )
</span><span class="lines">@@ -346,6 +381,14 @@
</span><span class="cx">          return bp_get_button( apply_filters( 'bp_get_add_friend_button', $button ) );
</span><span class="cx">  }
</span><span class="cx"> 
</span><ins>+/**
+ * Get a comma-separated list of IDs of a user's friends.
+ *
+ * @param int $user_id Optional. Default: the displayed user's ID, or the
+ *        logged-in user's ID.
+ * @return string|bool A comma-separated list of friend IDs if any are found,
+ *         otherwise false.
+ */
</ins><span class="cx"> function bp_get_friend_ids( $user_id = 0 ) {
</span><span class="cx"> 
</span><span class="cx">  if ( empty( $user_id ) )
</span><span class="lines">@@ -360,13 +403,14 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Get a user's friendship requests
</del><ins>+ * Get a user's friendship requests.
</ins><span class="cx">  *
</span><del>- * Note that we return a 0 if no pending requests are found. This is necessary because of the
- * structure of the $include parameter in bp_has_members().
</del><ins>+ * Note that we return a 0 if no pending requests are found. This is necessary
+ * because of the structure of the $include parameter in bp_has_members().
</ins><span class="cx">  *
</span><del>- * @param int $user_id Defaults to displayed user
- * @return mixed Returns an array of users if found, or a 0 if none are found
</del><ins>+ * @param int $user_id ID of the user whose requests are being retrieved.
+ *        Defaults to displayed user.
+ * @return array|int An array of user IDs if found, or a 0 if none are found.
</ins><span class="cx">  */
</span><span class="cx"> function bp_get_friendship_requests( $user_id = 0 ) {
</span><span class="cx">  if ( !$user_id ) {
</span><span class="lines">@@ -388,9 +432,17 @@
</span><span class="cx">  return apply_filters( 'bp_get_friendship_requests', $requests );
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+/**
+ * Output the ID of the friendship between the logged-in user and the current user in the loop.
+ */
</ins><span class="cx"> function bp_friend_friendship_id() {
</span><span class="cx">  echo bp_get_friend_friendship_id();
</span><span class="cx"> }
</span><ins>+       /**
+        * Return the ID of the frinedship between the logged-in user and the current user in the loop.
+        *
+        * @return int ID of the friendship.
+        */
</ins><span class="cx">   function bp_get_friend_friendship_id() {
</span><span class="cx">          global $members_template;
</span><span class="cx"> 
</span><span class="lines">@@ -402,9 +454,17 @@
</span><span class="cx">          return apply_filters( 'bp_get_friend_friendship_id', $friendship_id );
</span><span class="cx">  }
</span><span class="cx"> 
</span><ins>+/**
+ * Output the URL for accepting the current friendship request in the loop.
+ */
</ins><span class="cx"> function bp_friend_accept_request_link() {
</span><span class="cx">  echo bp_get_friend_accept_request_link();
</span><span class="cx"> }
</span><ins>+       /**
+        * Return the URL for accepting the current friendship request in the loop.
+        *
+        * @return string accept-friendship URL.
+        */
</ins><span class="cx">   function bp_get_friend_accept_request_link() {
</span><span class="cx">          global $members_template;
</span><span class="cx"> 
</span><span class="lines">@@ -416,9 +476,17 @@
</span><span class="cx">          return apply_filters( 'bp_get_friend_accept_request_link', wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/accept/' . $friendship_id, 'friends_accept_friendship' ) );
</span><span class="cx">  }
</span><span class="cx"> 
</span><ins>+/**
+ * Output the URL for rejecting the current friendship request in the loop.
+ */
</ins><span class="cx"> function bp_friend_reject_request_link() {
</span><span class="cx">  echo bp_get_friend_reject_request_link();
</span><span class="cx"> }
</span><ins>+       /**
+        * Return the URL for rejecting the current friendship request in the loop.
+        *
+        * @return string reject-friendship URL.
+        */
</ins><span class="cx">   function bp_get_friend_reject_request_link() {
</span><span class="cx">          global $members_template;
</span><span class="cx"> 
</span><span class="lines">@@ -430,17 +498,42 @@
</span><span class="cx">          return apply_filters( 'bp_get_friend_reject_request_link', wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/reject/' . $friendship_id, 'friends_reject_friendship' ) );
</span><span class="cx">  }
</span><span class="cx"> 
</span><ins>+/**
+ * Output the total friend count for a given user.
+ *
+ * @param int $user_id See {@link friends_get_total_friend_count()}.
+ */
</ins><span class="cx"> function bp_total_friend_count( $user_id = 0 ) {
</span><span class="cx">  echo bp_get_total_friend_count( $user_id );
</span><span class="cx"> }
</span><ins>+       /**
+        * Return the total friend count for a given user.
+        *
+        * @param int $user_id See {@link friends_get_total_friend_count()}.
+        * @return int Total friend count.
+        */
</ins><span class="cx">   function bp_get_total_friend_count( $user_id = 0 ) {
</span><span class="cx">          return apply_filters( 'bp_get_total_friend_count', friends_get_total_friend_count( $user_id ) );
</span><span class="cx">  }
</span><span class="cx">  add_filter( 'bp_get_total_friend_count', 'bp_core_number_format' );
</span><span class="cx"> 
</span><ins>+/**
+ * Output the total friendship request count for a given user.
+ *
+ * @see bp_friend_get_total_requests_count() for description of arguments.
+ *
+ * @param int $user_id See {@link bp_friend_get_total_requests_count().
+ */
</ins><span class="cx"> function bp_friend_total_requests_count( $user_id = 0 ) {
</span><span class="cx">  echo bp_friend_get_total_requests_count( $user_id );
</span><span class="cx"> }
</span><ins>+       /**
+        * Return the total friendship request count for a given user.
+        *
+        * @param int $user_id ID of the user whose requests are being counted.
+        *        Default: ID of the logged-in user.
+        * @return int Friend count.
+        */
</ins><span class="cx">   function bp_friend_get_total_requests_count( $user_id = 0 ) {
</span><span class="cx">          if ( empty( $user_id ) )
</span><span class="cx">                  $user_id = bp_loggedin_user_id();
</span></span></pre></div>
<a id="trunkbpfriendsbpfriendswidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-friends/bp-friends-widgets.php (7559 => 7560)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-friends/bp-friends-widgets.php  2013-11-11 01:47:36 UTC (rev 7559)
+++ trunk/bp-friends/bp-friends-widgets.php     2013-11-11 02:03:09 UTC (rev 7560)
</span><span class="lines">@@ -13,7 +13,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Register the friends widget.
</span><span class="cx">  *
</span><del>- * @since 1.9.0
</del><ins>+ * @since BuddyPress (1.9.0)
</ins><span class="cx">  */
</span><span class="cx"> function bp_friends_register_widgets() {
</span><span class="cx">  if ( ! bp_is_active( 'friends' ) ) {
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * The User Friends widget class.
</span><span class="cx">  *
</span><del>- * @since 1.9.0
</del><ins>+ * @since BuddyPress (1.9.0)
</ins><span class="cx">  */
</span><span class="cx"> class BP_Core_Friends_Widget extends WP_Widget {
</span><span class="cx"> 
</span><span class="lines">@@ -192,7 +192,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Process AJAX pagination or filtering for the Friends widget.
</span><span class="cx">  *
</span><del>- * @since 1.9.0
</del><ins>+ * @since BuddyPress (1.9.0)
</ins><span class="cx">  */
</span><span class="cx"> function bp_core_ajax_widget_friends() {
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>