<!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][8530] trunk/src/bp-activity/bp-activity-functions.php: Improved formatting for docblocks in bp-activity-functions.php</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/8530">8530</a></dd>
<dt>Author</dt> <dd>boonebgorges</dd>
<dt>Date</dt> <dd>2014-06-15 18:22:12 +0000 (Sun, 15 Jun 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Improved formatting for docblocks in bp-activity-functions.php

See <a href="http://buddypress.trac.wordpress.org/ticket/5022">#5022</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcbpactivitybpactivityfunctionsphp">trunk/src/bp-activity/bp-activity-functions.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcbpactivitybpactivityfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/bp-activity/bp-activity-functions.php (8529 => 8530)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/bp-activity/bp-activity-functions.php  2014-06-15 18:22:08 UTC (rev 8529)
+++ trunk/src/bp-activity/bp-activity-functions.php     2014-06-15 18:22:12 UTC (rev 8530)
</span><span class="lines">@@ -15,7 +15,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Check whether the $bp global lists an activity directory page.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @global object $bp BuddyPress global settings
</span><span class="cx">  *
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx">  *
</span><span class="cx">  *   add_filter( 'bp_activity_do_mentions', '__return_false' );
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.8)
</del><ins>+ * @since BuddyPress (1.8.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses apply_filters() To call 'bp_activity_do_mentions' hook.
</span><span class="cx">  *
</span><span class="lines">@@ -55,10 +55,12 @@
</span><span class="cx"> /**
</span><span class="cx">  * Locate usernames in an activity content string, as designated by an @ sign.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><del>- * @param string $content The content of the activity, usually found in $activity->content.
- * @return array|bool Associative array with user ID as key and username as value. Boolean false if no mentions found.
</del><ins>+ * @param string $content The content of the activity, usually found in
+ *        $activity->content.
+ * @return array|bool Associative array with user ID as key and username as
+ *         value. Boolean false if no mentions found.
</ins><span class="cx">  */
</span><span class="cx"> function bp_activity_find_mentions( $content ) {
</span><span class="cx">  $pattern = '/[@]+([A-Za-z0-9-_\.@]+)\b/';
</span><span class="lines">@@ -89,7 +91,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Reset a user's unread mentions list and count.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses bp_delete_user_meta()
</span><span class="cx">  *
</span><span class="lines">@@ -108,7 +110,7 @@
</span><span class="cx">  *
</span><span class="cx">  * Currently, only used in {@link bp_activity_delete()}.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses bp_activity_find_mentions()
</span><span class="cx">  * @uses bp_activity_update_mention_count_for_user()
</span><span class="lines">@@ -142,7 +144,7 @@
</span><span class="cx">  * This function should be used when you've already parsed your activity item
</span><span class="cx">  * for @mentions.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.7)
</del><ins>+ * @since BuddyPress (1.7.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses bp_get_user_meta()
</span><span class="cx">  * @uses bp_update_user_meta()
</span><span class="lines">@@ -317,7 +319,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Retreive the current action from a component and key.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.1)
</del><ins>+ * @since BuddyPress (1.1.0)
</ins><span class="cx">  *
</span><span class="cx">  * @global object $bp BuddyPress global settings.
</span><span class="cx">  * @uses apply_filters() To call the 'bp_activity_get_action' hook.
</span><span class="lines">@@ -339,7 +341,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Fetch details of all registered activity types.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.7)
</del><ins>+ * @since BuddyPress (1.7.0)
</ins><span class="cx">  *
</span><span class="cx">  * @return array array( type => description ), ...
</span><span class="cx">  */
</span><span class="lines">@@ -365,7 +367,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Get a users favorite activity stream items.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses bp_get_user_meta()
</span><span class="cx">  * @uses apply_filters() To call the 'bp_activity_get_user_favorites' hook.
</span><span class="lines">@@ -388,7 +390,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Add an activity stream item as a favorite for a user.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses is_user_logged_in()
</span><span class="cx">  * @uses bp_get_user_meta()
</span><span class="lines">@@ -453,7 +455,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Remove an activity stream item as a favorite for a user.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses is_user_logged_in()
</span><span class="cx">  * @uses bp_get_user_meta()
</span><span class="lines">@@ -522,7 +524,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Check whether an activity item exists with a given content string.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.1)
</del><ins>+ * @since BuddyPress (1.1.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses BP_Activity_Activity::check_exists_by_content() {@link BP_Activity_Activity}
</span><span class="cx">  * @uses apply_filters() To call the 'bp_activity_check_exists_by_content' hook.
</span><span class="lines">@@ -537,7 +539,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Retrieve the last time activity was updated.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.0)
</del><ins>+ * @since BuddyPress (1.0.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses BP_Activity_Activity::get_last_updated() {@link BP_Activity_Activity}
</span><span class="cx">  * @uses apply_filters() To call the 'bp_activity_get_last_updated' hook.
</span><span class="lines">@@ -551,7 +553,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Retrieve the number of favorite activity stream items a user has.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses BP_Activity_Activity::total_favorite_count() {@link BP_Activity_Activity}
</span><span class="cx">  *
</span><span class="lines">@@ -617,7 +619,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Get metadata for a given activity item.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses apply_filters() To call the 'bp_activity_get_meta' hook.
</span><span class="cx">  *
</span><span class="lines">@@ -642,7 +644,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Update a piece of activity meta.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @param int $activity_id ID of the activity item whose metadata is being
</span><span class="cx">  *        updated.
</span><span class="lines">@@ -689,7 +691,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Completely remove a user's activity data.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses is_user_logged_in()
</span><span class="cx">  * @uses bp_activity_delete()
</span><span class="lines">@@ -724,7 +726,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Mark all of the user's activity as spam.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.6)
</del><ins>+ * @since BuddyPress (1.6.0)
</ins><span class="cx">  *
</span><span class="cx">  * @global object $wpdb WordPress database access object.
</span><span class="cx">  * @global object $bp BuddyPress global settings.
</span><span class="lines">@@ -777,7 +779,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Mark all of the user's activity as ham (not spam).
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.6)
</del><ins>+ * @since BuddyPress (1.6.0)
</ins><span class="cx">  *
</span><span class="cx">  * @global object $wpdb WordPress database access object.
</span><span class="cx">  * @global object $bp BuddyPress global settings.
</span><span class="lines">@@ -830,7 +832,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Register the activity stream actions for updates
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.6)
</del><ins>+ * @since BuddyPress (1.6.0)
</ins><span class="cx">  *
</span><span class="cx">  * @global object $bp BuddyPress global settings.
</span><span class="cx">  */
</span><span class="lines">@@ -935,7 +937,7 @@
</span><span class="cx">  * the default for the bp_activity_get()).
</span><span class="cx">  *   - 'per_page' (false)
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @see BP_Activity_Activity::get() For more information on accepted arguments
</span><span class="cx">  *      and the format of the returned value.
</span><span class="lines">@@ -1025,7 +1027,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Fetch specific activity items.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @see BP_Activity_Activity::get() For more information on accepted arguments
</span><span class="cx">  * @uses wp_parse_args()
</span><span class="lines">@@ -1071,7 +1073,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Add an activity item.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.1)
</del><ins>+ * @since BuddyPress (1.1.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses wp_parse_args()
</span><span class="cx">  * @uses BP_Activity_Activity::save() {@link BP_Activity_Activity}
</span><span class="lines">@@ -1170,7 +1172,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Post an activity update.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @global object $bp BuddyPress global settings.
</span><span class="cx">  * @uses wp_parse_args()
</span><span class="lines">@@ -1232,7 +1234,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Add an activity comment.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @global object $bp BuddyPress global settings.
</span><span class="cx">  * @uses wp_parse_args()
</span><span class="lines">@@ -1247,12 +1249,12 @@
</span><span class="cx">  *     @type int $id Optional. Pass an ID to update an existing comment.
</span><span class="cx">  *     @type string $content The content of the comment.
</span><span class="cx">  *     @type int $user_id Optional. The ID of the user making the comment.
</span><del>- *                        Defaults to the ID of the logged-in user.
</del><ins>+ *           Defaults to the ID of the logged-in user.
</ins><span class="cx">  *     @type int $activity_id The ID of the "root" activity item, ie the oldest
</span><del>- *                            ancestor of the comment.
</del><ins>+ *           ancestor of the comment.
</ins><span class="cx">  *     @type int $parent_id Optional. The ID of the parent activity item, ie the
</span><del>- *                          item to which the comment is an immediate reply. If
- *                          not provided, this value defaults to the $activity_id.
</del><ins>+ *           item to which the comment is an immediate reply. If not provided,
+ *           this value defaults to the $activity_id.
</ins><span class="cx">  * }
</span><span class="cx">  * @return int|bool The ID of the comment on success, otherwise false.
</span><span class="cx">  */
</span><span class="lines">@@ -1314,7 +1316,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Fetch the activity_id for an existing activity entry in the DB.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @see BP_Activity_Activity::get() For more information on accepted arguments.
</span><span class="cx">  * @uses wp_parse_args()
</span><span class="lines">@@ -1354,7 +1356,7 @@
</span><span class="cx">  *
</span><span class="cx">  * If you are deleting an activity comment please use bp_activity_delete_comment();
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.0)
</del><ins>+ * @since BuddyPress (1.0.0)
</ins><span class="cx">  *
</span><span class="cx">  * @see BP_Activity_Activity::get() For more information on accepted arguments.
</span><span class="cx">  * @uses wp_parse_args()
</span><span class="lines">@@ -1426,7 +1428,7 @@
</span><span class="cx">   *
</span><span class="cx">   * You should use bp_activity_delete() instead.
</span><span class="cx">   *
</span><del>-        * @since BuddyPress (1.1)
</del><ins>+         * @since BuddyPress (1.1.0)
</ins><span class="cx">    * @deprecated BuddyPress (1.2)
</span><span class="cx">   *
</span><span class="cx">   * @uses wp_parse_args()
</span><span class="lines">@@ -1454,7 +1456,7 @@
</span><span class="cx">  /**
</span><span class="cx">   * Delete an activity item by activity id.
</span><span class="cx">   *
</span><del>-        * @since BuddyPress (1.1)
</del><ins>+         * @since BuddyPress (1.1.0)
</ins><span class="cx">    *
</span><span class="cx">   * @uses bp_activity_delete()
</span><span class="cx">   *
</span><span class="lines">@@ -1470,7 +1472,7 @@
</span><span class="cx">   *
</span><span class="cx">   * You should use bp_activity_delete() instead.
</span><span class="cx">   *
</span><del>-        * @since BuddyPress (1.1)
</del><ins>+         * @since BuddyPress (1.1.0)
</ins><span class="cx">    * @deprecated BuddyPress (1.2)
</span><span class="cx">   *
</span><span class="cx">   * @uses bp_activity_delete()
</span><span class="lines">@@ -1490,7 +1492,7 @@
</span><span class="cx">   *
</span><span class="cx">   * You should use bp_activity_delete() instead.
</span><span class="cx">   *
</span><del>-        * @since BuddyPress (1.1)
</del><ins>+         * @since BuddyPress (1.1.0)
</ins><span class="cx">    * @deprecated BuddyPress (1.2)
</span><span class="cx">   *
</span><span class="cx">   * @uses bp_activity_delete()
</span><span class="lines">@@ -1506,7 +1508,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Delete an activity comment.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses apply_filters() To call the 'bp_activity_delete_comment_pre' hook.
</span><span class="cx">  * @uses bp_activity_delete_children()
</span><span class="lines">@@ -1549,14 +1551,14 @@
</span><span class="cx">  /**
</span><span class="cx">   * Delete an activity comment's children.
</span><span class="cx">   *
</span><del>-        * @since BuddyPress (1.2)
</del><ins>+         * @since BuddyPress (1.2.0)
</ins><span class="cx">    *
</span><span class="cx">   * @uses BP_Activity_Activity::get_child_comments() {@link BP_Activity_Activity}
</span><span class="cx">   * @uses bp_activity_delete_children()
</span><span class="cx">   * @uses bp_activity_delete()
</span><span class="cx">   *
</span><span class="cx">   * @param int $activity_id The ID of the "root" activity, ie the
</span><del>-        *                         comment's oldest ancestor.
</del><ins>+         *        comment's oldest ancestor.
</ins><span class="cx">    * @param int $comment_id The ID of the comment to be deleted.
</span><span class="cx">   */
</span><span class="cx">  function bp_activity_delete_children( $activity_id, $comment_id) {
</span><span class="lines">@@ -1577,7 +1579,7 @@
</span><span class="cx">  * be sure to pass the full $activity_obj parameter as well, if you already
</span><span class="cx">  * have it available.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses bp_get_root_domain()
</span><span class="cx">  * @uses bp_get_activity_root_slug()
</span><span class="lines">@@ -1612,7 +1614,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Hide a user's activity.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses BP_Activity_Activity::hide_all_for_user() {@link BP_Activity_Activity}
</span><span class="cx">  *
</span><span class="lines">@@ -1633,18 +1635,18 @@
</span><span class="cx">  * through the content, grabs the first image and converts it to a thumbnail,
</span><span class="cx">  * and removes the rest of the images from the string.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.2)
</del><ins>+ * @since BuddyPress (1.2.0)
</ins><span class="cx">  *
</span><span class="cx">  * @uses esc_attr()
</span><span class="cx">  * @uses apply_filters() To call the 'bp_activity_thumbnail_content_images' hook
</span><span class="cx">  *
</span><span class="cx">  * @param string $content The content of the activity item.
</span><span class="cx">  * @param string $link Optional. The unescaped URL that the image should link
</span><del>- *                               to. If absent, the image will not be a link.
</del><ins>+ *        to. If absent, the image will not be a link.
</ins><span class="cx">  * @param array $activity_args Optional. The args passed to the activity
</span><del>- *                             creation function (eg bp_blogs_record_activity()).
</del><ins>+ *        creation function (eg bp_blogs_record_activity()).
</ins><span class="cx">  * @return string $content The content with images stripped and replaced with a
</span><del>- *                         single thumb.
</del><ins>+ *         single thumb.
</ins><span class="cx">  */
</span><span class="cx"> function bp_activity_thumbnail_content_images( $content, $link = false, $args = false ) {
</span><span class="cx"> 
</span><span class="lines">@@ -1690,7 +1692,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * Fetch whether the current user is allowed to mark items as spam.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.6)
</del><ins>+ * @since BuddyPress (1.6.0)
</ins><span class="cx">  *
</span><span class="cx">  * @return bool True if user is allowed to mark activity items as spam.
</span><span class="cx">  */
</span><span class="lines">@@ -1701,14 +1703,14 @@
</span><span class="cx"> /**
</span><span class="cx">  * Mark an activity item as spam.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.6)
</del><ins>+ * @since BuddyPress (1.6.0)
</ins><span class="cx">  *
</span><span class="cx">  * @global object $bp BuddyPress global settings.
</span><span class="cx">  *
</span><span class="cx">  * @param BP_Activity_Activity $activity The activity item to be spammed.
</span><span class="cx">  * @param string $source Optional. Default is "by_a_person" (ie, a person has
</span><del>- *                       manually marked the activity as spam). BP core also
- *                       accepts 'by_akismet'.
</del><ins>+ *        manually marked the activity as spam). BP core also accepts
+ *        'by_akismet'.
</ins><span class="cx">  */
</span><span class="cx"> function bp_activity_mark_as_spam( &$activity, $source = 'by_a_person' ) {
</span><span class="cx">  global $bp;
</span><span class="lines">@@ -1741,14 +1743,14 @@
</span><span class="cx"> /**
</span><span class="cx">  * Mark an activity item as ham.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.6)
</del><ins>+ * @since BuddyPress (1.6.0)
</ins><span class="cx">  *
</span><span class="cx">  * @global object $bp BuddyPress global settings.
</span><span class="cx">  *
</span><span class="cx">  * @param BP_Activity_Activity $activity The activity item to be hammed.
</span><span class="cx">  * @param string $source Optional. Default is "by_a_person" (ie, a person has
</span><del>- *                       manually marked the activity as spam). BP core also
- *                       accepts 'by_akismet'.
</del><ins>+ *        manually marked the activity as spam). BP core also accepts
+ *        'by_akismet'.
</ins><span class="cx">  */
</span><span class="cx"> function bp_activity_mark_as_ham( &$activity, $source = 'by_a_person' ) {
</span><span class="cx">  global $bp;
</span><span class="lines">@@ -1791,7 +1793,7 @@
</span><span class="cx">  * This does not cover recursive activity comments, as they do not use a real loop.
</span><span class="cx">  * For that, see {@link bp_activity_comment_embed()}.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @see BP_Embed
</span><span class="cx">  * @see bp_embed_activity_cache()
</span><span class="lines">@@ -1815,7 +1817,7 @@
</span><span class="cx">  * necessary to grab each comment's embeds from the cache, or put them in
</span><span class="cx">  * the cache if they are not there yet.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @see BP_Embed
</span><span class="cx">  * @see bp_embed_activity_cache()
</span><span class="lines">@@ -1834,7 +1836,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * When a user clicks on a "Read More" item, make sure embeds are correctly parsed and shown for the expanded content.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @see BP_Embed
</span><span class="cx">  * @global object $bp BuddyPress global settings
</span><span class="lines">@@ -1862,7 +1864,7 @@
</span><span class="cx">  * This filter must be removed so that the non-comment filters take over again
</span><span class="cx">  * once the comments are done being processed.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @see bp_activity_comment_embed()
</span><span class="cx">  * @uses remove_filter() To remove 'bp_get_activity_comment_id' from 'embed_post_id'.
</span><span class="lines">@@ -1877,13 +1879,13 @@
</span><span class="cx">  *
</span><span class="cx">  * Used during {@link BP_Embed::parse_oembed()} via {@link bp_activity_embed()}.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @see BP_Embed::parse_oembed()
</span><span class="cx">  * @uses bp_activity_get_meta()
</span><span class="cx">  *
</span><span class="cx">  * @param string $cache An empty string passed by BP_Embed::parse_oembed() for
</span><del>- *                      functions like this one to filter.
</del><ins>+ *        functions like this one to filter.
</ins><span class="cx">  * @param int $id The ID of the activity item.
</span><span class="cx">  * @param string $cachekey The cache key generated in BP_Embed::parse_oembed().
</span><span class="cx">  * @return mixed The cached embeds for this activity item.
</span><span class="lines">@@ -1897,13 +1899,13 @@
</span><span class="cx">  *
</span><span class="cx">  * Used during {@link BP_Embed::parse_oembed()} via {@link bp_activity_embed()}.
</span><span class="cx">  *
</span><del>- * @since BuddyPress (1.5)
</del><ins>+ * @since BuddyPress (1.5.0)
</ins><span class="cx">  *
</span><span class="cx">  * @see BP_Embed::parse_oembed()
</span><span class="cx">  * @uses bp_activity_update_meta()
</span><span class="cx">  *
</span><span class="cx">  * @param string $cache An empty string passed by BP_Embed::parse_oembed() for
</span><del>- *                      functions like this one to filter.
</del><ins>+ *        functions like this one to filter.
</ins><span class="cx">  * @param int $id The ID of the activity item.
</span><span class="cx">  * @param string $cachekey The cache key generated in BP_Embed::parse_oembed().
</span><span class="cx">  * @return bool True on success, false on failure.
</span></span></pre>
</div>
</div>

</body>
</html>