<!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][5999] trunk: Add missing field declarations to classes.</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/5999">5999</a></dd>
<dt>Author</dt> <dd>djpaul</dd>
<dt>Date</dt> <dd>2012-04-21 15:47:05 +0000 (Sat, 21 Apr 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add missing field declarations to classes. Fixes <a href="http://buddypress.trac.wordpress.org/ticket/4159">#4159</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpcorebpcoreadminphp">trunk/bp-core/bp-core-admin.php</a></li>
<li><a href="#trunkbpcorebpcoreclassesphp">trunk/bp-core/bp-core-classes.php</a></li>
<li><a href="#trunkbpcorebpcorecomponentphp">trunk/bp-core/bp-core-component.php</a></li>
<li><a href="#trunkbpforumsbpforumstemplatephp">trunk/bp-forums/bp-forums-template.php</a></li>
<li><a href="#trunkbpgroupsbpgroupsclassesphp">trunk/bp-groups/bp-groups-classes.php</a></li>
<li><a href="#trunkbpgroupsbpgroupsloaderphp">trunk/bp-groups/bp-groups-loader.php</a></li>
<li><a href="#trunkbploaderphp">trunk/bp-loader.php</a></li>
<li><a href="#trunkbpmessagesbpmessagesclassesphp">trunk/bp-messages/bp-messages-classes.php</a></li>
<li><a href="#trunkbpmessagesbpmessagesloaderphp">trunk/bp-messages/bp-messages-loader.php</a></li>
<li><a href="#trunkbpxprofilebpxprofileloaderphp">trunk/bp-xprofile/bp-xprofile-loader.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpcorebpcoreadminphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-admin.php (5998 => 5999)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-admin.php        2012-04-20 21:10:36 UTC (rev 5998)
+++ trunk/bp-core/bp-core-admin.php        2012-04-21 15:47:05 UTC (rev 5999)
</span><span class="lines">@@ -20,6 +20,14 @@
</span><span class="cx">  */
</span><span class="cx"> class BP_Admin {
</span><span class="cx"> 
</span><ins>+        /**
+         * Instance of the setup wizard
+         *
+         * @since BuddyPress (1.6)
+         * @var BP_Core_Setup_Wizard
+         */
+        public $wizard;
+
</ins><span class="cx">         /** Directory *************************************************************/
</span><span class="cx"> 
</span><span class="cx">         /**
</span></span></pre></div>
<a id="trunkbpcorebpcoreclassesphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-classes.php (5998 => 5999)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-classes.php        2012-04-20 21:10:36 UTC (rev 5998)
+++ trunk/bp-core/bp-core-classes.php        2012-04-21 15:47:05 UTC (rev 5999)
</span><span class="lines">@@ -108,8 +108,16 @@
</span><span class="cx">          */
</span><span class="cx">         var $total_groups;
</span><span class="cx"> 
</span><del>-        /** Public Method*s *******************************************************/
</del><ins>+        /**
+         * Profile information for the specific user.
+         *
+         * @since BuddyPress (1.2)
+         * @var array
+         */
+        public $profile_data;
</ins><span class="cx"> 
</span><ins>+        /** Public Methods *******************************************************/
+
</ins><span class="cx">         /**
</span><span class="cx">          * Class constructor.
</span><span class="cx">          *
</span></span></pre></div>
<a id="trunkbpcorebpcorecomponentphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-component.php (5998 => 5999)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-component.php        2012-04-20 21:10:36 UTC (rev 5998)
+++ trunk/bp-core/bp-core-component.php        2012-04-21 15:47:05 UTC (rev 5999)
</span><span class="lines">@@ -65,6 +65,22 @@
</span><span class="cx">         var $admin_menu;
</span><span class="cx"> 
</span><span class="cx">         /**
</span><ins>+         * Search input box placeholder string for the component
+         *
+         * @since BuddyPress (1.5)
+         * @var string
+         */
+        public $search_string;
+
+        /**
+         * Component's root slug
+         *
+         * @since BuddyPress (1.5)
+         * @var string
+         */
+        public $root_slug;
+
+        /**
</ins><span class="cx">          * Component loader
</span><span class="cx">          *
</span><span class="cx">          * @since BuddyPress (1.5)
</span></span></pre></div>
<a id="trunkbpforumsbpforumstemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-forums/bp-forums-template.php (5998 => 5999)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-forums/bp-forums-template.php        2012-04-20 21:10:36 UTC (rev 5998)
+++ trunk/bp-forums/bp-forums-template.php        2012-04-21 15:47:05 UTC (rev 5999)
</span><span class="lines">@@ -982,6 +982,14 @@
</span><span class="cx"> 
</span><span class="cx">         var $in_the_loop;
</span><span class="cx"> 
</span><ins>+        /**
+         * Contains a 'total_pages' property holding total number of pages in this loop.
+         *
+         * @since BuddyPress (1.2)
+         * @var stdClass
+         */
+        public $pag;
+
</ins><span class="cx">         var $pag_page;
</span><span class="cx">         var $pag_num;
</span><span class="cx">         var $pag_links;
</span></span></pre></div>
<a id="trunkbpgroupsbpgroupsclassesphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-groups/bp-groups-classes.php (5998 => 5999)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-groups/bp-groups-classes.php        2012-04-20 21:10:36 UTC (rev 5998)
+++ trunk/bp-groups/bp-groups-classes.php        2012-04-21 15:47:05 UTC (rev 5999)
</span><span class="lines">@@ -24,6 +24,30 @@
</span><span class="cx">         var $mods;
</span><span class="cx">         var $total_member_count;
</span><span class="cx"> 
</span><ins>+        /**
+         * Is the current user a member of this group?
+         *
+         * @since BuddyPress (1.2)
+         * @var bool
+         */
+        public $is_member;
+
+        /**
+         * Timestamp of the last activity that happened in this group.
+         *
+         * @since BuddyPress (1.2)
+         * @var string
+         */
+        public $last_activity;
+
+        /**
+         * If this is a private or hidden group, does the current user have access?
+         *
+         * @since BuddyPress (1.6)
+         * @var bool
+         */
+        public $user_has_access;
+
</ins><span class="cx">         public function __construct( $id = null ) {
</span><span class="cx">                 if ( !empty( $id ) ) {
</span><span class="cx">                         $this-&gt;id = $id;
</span></span></pre></div>
<a id="trunkbpgroupsbpgroupsloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-groups/bp-groups-loader.php (5998 => 5999)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-groups/bp-groups-loader.php        2012-04-20 21:10:36 UTC (rev 5998)
+++ trunk/bp-groups/bp-groups-loader.php        2012-04-21 15:47:05 UTC (rev 5999)
</span><span class="lines">@@ -15,14 +15,64 @@
</span><span class="cx"> if ( !defined( 'ABSPATH' ) ) exit;
</span><span class="cx"> 
</span><span class="cx"> class BP_Groups_Component extends BP_Component {
</span><ins>+
</ins><span class="cx">         /**
</span><ins>+         * Auto join group when non group member performs group activity
+         *
+         * @since BuddyPress (1.5)
+         * @var bool
+         */
+        public $auto_join;
+
+        /**
+         * The group being currently accessed
+         *
+         * @since BuddyPress (1.5)
+         * @var BP_Groups_Group
+         */
+        public $current_group;
+
+        /**
</ins><span class="cx">          * Default group extension
</span><span class="cx">          *
</span><span class="cx">          * @since BuddyPress (1.6)
</span><ins>+         * @todo Is this used anywhere? Is this a duplicate of $default_extension?
</ins><span class="cx">          */
</span><span class="cx">         var $default_component;
</span><span class="cx"> 
</span><span class="cx">         /**
</span><ins>+         * Default group extension
+         *
+         * @since BuddyPress (1.6)
+         * @var string
+         */
+        public $default_extension;
+
+        /**
+         * Illegal group names/slugs
+         *
+         * @since BuddyPress (1.5)
+         * @var array
+         */
+        public $forbidden_names;
+
+        /**
+         * Group creation/edit steps (e.g. Details, Settings, Avatar, Invites)
+         *
+         * @since BuddyPress (1.5)
+         * @var array
+         */
+        public $group_creation_steps;
+
+        /**
+         * Types of group statuses (Public, Private, Hidden)
+         *
+         * @since BuddyPress (1.5)
+         * @var array
+         */
+        public $valid_status;
+
+        /**
</ins><span class="cx">          * Start the groups component creation process
</span><span class="cx">          *
</span><span class="cx">          * @since BuddyPress (1.5)
</span></span></pre></div>
<a id="trunkbploaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-loader.php (5998 => 5999)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-loader.php        2012-04-20 21:10:36 UTC (rev 5998)
+++ trunk/bp-loader.php        2012-04-21 15:47:05 UTC (rev 5999)
</span><span class="lines">@@ -84,6 +84,14 @@
</span><span class="cx">         /** Paths *****************************************************************/
</span><span class="cx"> 
</span><span class="cx">         /**
</span><ins>+         * The absolute path and filename of this file.
+         *
+         * @since BuddyPress (1.6)
+         * @var string
+         */
+        public $file;
+
+        /**
</ins><span class="cx">          * @var string Basename of the BuddyPress plugin directory
</span><span class="cx">          */
</span><span class="cx">         public $basename = '';
</span></span></pre></div>
<a id="trunkbpmessagesbpmessagesclassesphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-messages/bp-messages-classes.php (5998 => 5999)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-messages/bp-messages-classes.php        2012-04-20 21:10:36 UTC (rev 5998)
+++ trunk/bp-messages/bp-messages-classes.php        2012-04-21 15:47:05 UTC (rev 5999)
</span><span class="lines">@@ -18,6 +18,54 @@
</span><span class="cx"> 
</span><span class="cx">         var $unread_count;
</span><span class="cx"> 
</span><ins>+        /**
+         * The content of the last message in this thread
+         *
+         * @since BuddyPress (1.2)
+         * @var string
+         */
+        public $last_message_content;
+
+        /**
+         * The date of the last message in this thread
+         *
+         * @since BuddyPress (1.2)
+         * @var string
+         */
+        public $last_message_date;
+
+        /**
+         * The ID of the last message in this thread
+         *
+         * @since BuddyPress (1.2)
+         * @var int
+         */
+        public $last_message_id;
+
+        /**
+         * The subject of the last message in this thread
+         *
+         * @since BuddyPress (1.2)
+         * @var string
+         */
+        public $last_message_subject;
+
+        /**
+         * The user ID of the author of the last message in this thread
+         *
+         * @since BuddyPress (1.2)
+         * @var int
+         */
+        public $last_sender_id;
+
+        /**
+         * Sort order of the messages in this thread (ASC or DESC).
+         *
+         * @since BuddyPress (1.5)
+         * @var string
+         */        
+        public $messages_order;
+
</ins><span class="cx">         function __construct( $thread_id = false, $order = 'ASC' ) {
</span><span class="cx">                 if ( $thread_id )
</span><span class="cx">                         $this-&gt;populate( $thread_id, $order );
</span></span></pre></div>
<a id="trunkbpmessagesbpmessagesloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-messages/bp-messages-loader.php (5998 => 5999)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-messages/bp-messages-loader.php        2012-04-20 21:10:36 UTC (rev 5998)
+++ trunk/bp-messages/bp-messages-loader.php        2012-04-21 15:47:05 UTC (rev 5999)
</span><span class="lines">@@ -13,6 +13,14 @@
</span><span class="cx"> if ( !defined( 'ABSPATH' ) ) exit;
</span><span class="cx"> 
</span><span class="cx"> class BP_Messages_Component extends BP_Component {
</span><ins>+        /**
+         * If this is true, the Message autocomplete will return friends only, unless
+         * this is set to false, in which any matching users will be returned.
+         *
+         * @since BuddyPress (1.5)
+         * @var bool
+         */
+        public $autocomplete_all;
</ins><span class="cx"> 
</span><span class="cx">         /**
</span><span class="cx">          * Start the messages component creation process
</span></span></pre></div>
<a id="trunkbpxprofilebpxprofileloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-xprofile/bp-xprofile-loader.php (5998 => 5999)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-xprofile/bp-xprofile-loader.php        2012-04-20 21:10:36 UTC (rev 5998)
+++ trunk/bp-xprofile/bp-xprofile-loader.php        2012-04-21 15:47:05 UTC (rev 5999)
</span><span class="lines">@@ -15,9 +15,18 @@
</span><span class="cx"> 
</span><span class="cx"> class BP_XProfile_Component extends BP_Component {
</span><span class="cx">         /**
</span><ins>+         * Profile field types
+         *
+         * @since BuddyPress (1.5)
+         * @var array
+         */
+        public $field_types;
+
+        /**
</ins><span class="cx">          * The acceptable visibility levels for xprofile fields.
</span><ins>+         *
+         * @see bp_xprofile_get_visibility_levels()
</ins><span class="cx">          * @since 1.6
</span><del>-         * @see bp_xprofile_get_visibility_levels()
</del><span class="cx">          */
</span><span class="cx">         var $visibility_levels = array();
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>