<!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][13757] trunk/src: Improve some method/function inline docs adding `@global` docblocks</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 { white-space: pre-line; 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" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://buddypress.trac.wordpress.org/changeset/13757">13757</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://buddypress.trac.wordpress.org/changeset/13757","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>imath</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-03-09 04:40:09 +0000 (Sat, 09 Mar 2024)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Improve some method/function inline docs adding `@global` docblocks
Props shailu25
Fixes <a href="http://buddypress.trac.wordpress.org/ticket/9116">#9116</a>
Closes https://github.com/buddypress/buddypress/pull/252</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcbpactivitybpactivitytemplatephp">trunk/src/bp-activity/bp-activity-template.php</a></li>
<li><a href="#trunksrcbpactivityclassesclassbpactivityactivityphp">trunk/src/bp-activity/classes/class-bp-activity-activity.php</a></li>
<li><a href="#trunksrcbpactivityclassesclassbpactivityfeedphp">trunk/src/bp-activity/classes/class-bp-activity-feed.php</a></li>
<li><a href="#trunksrcbpactivityclassesclassbpactivityqueryphp">trunk/src/bp-activity/classes/class-bp-activity-query.php</a></li>
<li><a href="#trunksrcbpblogsbpblogsactivityphp">trunk/src/bp-blogs/bp-blogs-activity.php</a></li>
<li><a href="#trunksrcbpblogsbpblogsfunctionsphp">trunk/src/bp-blogs/bp-blogs-functions.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcbpactivitybpactivitytemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-activity/bp-activity-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-activity/bp-activity-template.php 2024-03-09 04:36:09 UTC (rev 13756)
+++ trunk/src/bp-activity/bp-activity-template.php 2024-03-09 04:40:09 UTC (rev 13757)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3770,6 +3770,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global BP_Activity_Template $activities_template The Activity template object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool|array An array of IDs, or false if none are found.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function bp_activity_get_comments_user_ids() {
</span></span></pre></div>
<a id="trunksrcbpactivityclassesclassbpactivityactivityphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-activity/classes/class-bp-activity-activity.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-activity/classes/class-bp-activity-activity.php 2024-03-09 04:36:09 UTC (rev 13756)
+++ trunk/src/bp-activity/classes/class-bp-activity-activity.php 2024-03-09 04:40:09 UTC (rev 13757)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -173,6 +173,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Populate the object with data about the specific activity item.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.0.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global wpdb $wpdb WordPress database object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function populate() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wpdb;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -227,6 +229,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return WP_Error|bool True on success.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function save() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -350,6 +354,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @see WP_Meta_Query::queries for a description of the 'meta_query'
</span><span class="cx" style="display: block; padding: 0 10px"> * parameter format.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args {
</span><span class="cx" style="display: block; padding: 0 10px"> * An array of arguments. All items are optional.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $page Which page of results to fetch. Using page=1 without per_page will result
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -881,6 +887,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $activity_ids Array of activity IDs.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1239,6 +1247,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 10.0.0 Parameters were made optional.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args {
</span><span class="cx" style="display: block; padding: 0 10px"> * An array of arguments. All items are optional.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $user_id User ID to filter by.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1351,6 +1361,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args {
</span><span class="cx" style="display: block; padding: 0 10px"> * @int $id Optional. The ID of a specific item to delete.
</span><span class="cx" style="display: block; padding: 0 10px"> * @string $action Optional. The action to filter by.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1528,6 +1540,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @deprecated 2.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $activity_ids Activity IDs whose comments should be deleted.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1829,6 +1843,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param bool $skip_last_activity If true, components will not be
</span><span class="cx" style="display: block; padding: 0 10px"> * included if the only activity type associated with them is
</span><span class="cx" style="display: block; padding: 0 10px"> * 'last_activity'. (Since 2.0.0, 'last_activity' is stored in
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1880,6 +1896,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @see BP_Activity_Activity::get_filter_sql()
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $field The database field.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array|bool $items The values for the IN clause, or false when none are found.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string|false
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2001,6 +2019,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string ISO timestamp.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public static function get_last_updated() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2036,6 +2056,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $content The content to filter by.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return int|false The ID of the first matching item if found, otherwise false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2054,6 +2076,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $user_id The ID of the user whose activity you want to mark hidden.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return mixed
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcbpactivityclassesclassbpactivityfeedphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-activity/classes/class-bp-activity-feed.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-activity/classes/class-bp-activity-feed.php 2024-03-09 04:36:09 UTC (rev 13756)
+++ trunk/src/bp-activity/classes/class-bp-activity-feed.php 2024-03-09 04:40:09 UTC (rev 13757)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -90,6 +90,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Query $wp_query WordPress query object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args Optional.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function __construct( $args = array() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -330,6 +332,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Most of this class method is derived from {@link WP::send_headers()}.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.9.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_Query $wp_query WordPress query object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function http_headers() {
</span><span class="cx" style="display: block; padding: 0 10px"> // Set up some additional headers if not on a directory page
</span></span></pre></div>
<a id="trunksrcbpactivityclassesclassbpactivityqueryphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-activity/classes/class-bp-activity-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-activity/classes/class-bp-activity-query.php 2024-03-09 04:36:09 UTC (rev 13756)
+++ trunk/src/bp-activity/classes/class-bp-activity-query.php 2024-03-09 04:40:09 UTC (rev 13757)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -108,6 +108,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $clause Array of arguments belonging to the clause.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $parent_query Parent query to which the clause belongs.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array {
</span></span></pre></div>
<a id="trunksrcbpblogsbpblogsactivityphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-blogs/bp-blogs-activity.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-blogs/bp-blogs-activity.php 2024-03-09 04:36:09 UTC (rev 13756)
+++ trunk/src/bp-blogs/bp-blogs-activity.php 2024-03-09 04:40:09 UTC (rev 13757)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -671,6 +671,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $post_id ID of the post to be removed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $blog_id Optional. Defaults to current blog ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $user_id Optional. Defaults to the logged-in user ID. This param
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1022,6 +1024,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0 Used for any synced Post type comments, in wp-admin or front-end contexts.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args Arguments passed from bp_parse_args() in bp_has_activities().
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array $args
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1200,6 +1204,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global BP_Activity_Template $activities_template The Activity template object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param bool $retval Is activity commenting enabled for this activity entry.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1331,6 +1337,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global BP_Activity_Template $activities_template The Activity template object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $retval The activity comment permalink.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcbpblogsbpblogsfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-blogs/bp-blogs-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-blogs/bp-blogs-functions.php 2024-03-09 04:36:09 UTC (rev 13756)
+++ trunk/src/bp-blogs/bp-blogs-functions.php 2024-03-09 04:40:09 UTC (rev 13757)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -87,6 +87,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.6.0 Accepts $args as a parameter.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args {
</span><span class="cx" style="display: block; padding: 0 10px"> * Array of arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $offset The offset to use.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -860,6 +862,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * default, though as of 2.1.0 you can filter 'bp_blogs_get_allowed_roles' to
</span><span class="cx" style="display: block; padding: 0 10px"> * modify this behavior.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $user_id The ID of the user.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|bool $role User's WordPress role for this blog ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $blog_id Blog ID user is being added to.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -936,6 +940,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Remove a blog-user pair from BP's blog tracker.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb WordPress database object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $user_id ID of the user whose blog is being removed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $blog_id Optional. ID of the blog being removed. Default: current blog ID.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre>
</div>
</div>
</body>
</html>