Skip to:
Content

BuddyPress.org

Changeset 13400


Ignore:
Timestamp:
01/07/2023 02:03:01 AM (4 years ago)
Author:
espellcaste
Message:

Set missing properties to the BuddyPress class.

See #7018

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/class-buddypress.php

    r13389 r13400  
    4040         * Primary BuddyPress navigation.
    4141         *
    42          * @var array Primary BuddyPress navigation.
    43          */
    44         public $bp_nav = array();
     42         * @var BP_Core_BP_Nav_BackCompat
     43         */
     44        public $bp_nav;
    4545
    4646        /**
    4747         * Options for the BuddyPress navigation.
    4848         *
    49          * @var array Secondary BuddyPress navigation to $bp_nav.
    50          */
    51         public $bp_options_nav = array();
     49         * @var BP_Core_BP_Options_Nav_BackCompat
     50         */
     51        public $bp_options_nav;
    5252
    5353        /**
    5454         * Unfiltered URI.
    5555         *
     56         * The unfiltered URI broken down into chunks.
     57         *
    5658         * @see bp_core_set_uri_globals()
    57          * @var array The unfiltered URI broken down into chunks.
     59         * @var array
    5860         */
    5961        public $unfiltered_uri = array();
    6062
    6163        /**
    62          * Canonical stack.
     64         * The canonical URI stack.
    6365         *
    6466         * @see bp_redirect_canonical()
    6567         * @see bp_core_new_nav_item()
    66          * @var array The canonical URI stack.
     68         * @var array
    6769         */
    6870        public $canonical_stack = array();
     
    7173         * Current action variables.
    7274         *
    73          * @var array Additional navigation elements (supplemental).
     75         * @var array
    7476         */
    7577        public $action_variables = array();
    7678
    7779        /**
    78          * Current member type.
    79          *
    80          * @var string Current member directory type.
     80         * Current member directory type.
     81         *
     82         * @var string
    8183         */
    8284        public $current_member_type = '';
    8385
    8486        /**
    85          * BuddyPress required components.
    86          *
    87          * @var array Required components (core, members).
     87         * BuddyPress required components (core, members).
     88         *
     89         * @var array
    8890         */
    8991        public $required_components = array();
     
    9294         * BuddyPress loaded components.
    9395         *
    94          * @var array Additional active components.
     96         * @var array
    9597         */
    9698        public $loaded_components = array();
     
    99101         * BuddyPress active components.
    100102         *
    101          * @var array Active components.
     103         * @var array
    102104         */
    103105        public $active_components = array();
     
    107109         *
    108110         * @since 2.5.0
    109          *
    110111         * @var bool
    111112         */
    112113        public $do_autoload = true;
    113114
     115        /**
     116         * Activity component.
     117         *
     118         * @since 1.6.0
     119         * @var BP_Activity_Component
     120         */
     121        public $activity;
     122
     123        /**
     124         * Blogs component.
     125         *
     126         * @since 1.5.0
     127         * @var BP_Blogs_Component
     128         */
     129        public $blogs;
     130
     131        /**
     132         * Core component.
     133         *
     134         * @since 1.6.0
     135         * @var BP_Core
     136         */
     137        public $core;
     138
     139        /**
     140         * Forums component.
     141         *
     142         * @since 1.5.0
     143         * @var BP_Forums_Component
     144         */
     145        public $forums;
     146
     147        /**
     148         * Friends component.
     149         *
     150         * @since 1.6.0
     151         * @var BP_Friends_Component
     152         */
     153        public $friends;
     154
     155        /**
     156         * Groups component.
     157         *
     158         * @since 1.5.0
     159         * @var BP_Groups_Component
     160         */
     161        public $groups;
     162
     163        /**
     164         * Members component.
     165         *
     166         * @since 1.5.0
     167         * @var BP_Members_Component
     168         */
     169        public $members;
     170
     171        /**
     172         * Messages component.
     173         *
     174         * @since 1.5.0
     175         * @var BP_Messages_Component
     176         */
     177        public $messages;
     178
     179        /**
     180         * Notifications component.
     181         *
     182         * @since 1.9.0
     183         * @var BP_Notifications_Component
     184         */
     185        public $notifications;
     186
     187        /**
     188         * Settings component.
     189         *
     190         * @since 1.6.0
     191         * @var BP_Settings_Component
     192         */
     193        public $settings;
     194
     195        /**
     196         * XProfile component.
     197         *
     198         * @since 1.6.0
     199         * @var BP_XProfile_Component
     200         */
     201        public $profile;
     202
    114203        /** Option Overload *******************************************************/
    115204
     
    117206         * BuddyPress options.
    118207         *
    119          * @var array Optional Overloads default options retrieved from get_option().
     208         * Overloads default options retrieved from get_option().
     209         *
     210         * @var array
    120211         */
    121212        public $options = array();
Note: See TracChangeset for help on using the changeset viewer.