Changeset 7380 for trunk/src/bbpress.php
- Timestamp:
- 12/05/2025 02:27:53 AM (8 months ago)
- File:
-
- 1 edited
-
trunk/src/bbpress.php (modified) (27 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bbpress.php
r7378 r7380 2 2 3 3 /** 4 * The bbPress Plugin 4 * The bbPress Plugin. 5 5 * 6 6 * bbPress is forum software with a twist from the creators of WordPress. … … 33 33 if ( ! class_exists( 'bbPress' ) ) : 34 34 /** 35 * Main bbPress Class 35 * Main bbPress Class. 36 36 * 37 37 * "Word hard. Stay bumble." … … 58 58 59 59 /** 60 * @var mixed False when not logged in; WP_User object when logged in 60 * @var mixed False when not logged in; WP_User object when logged in. 61 61 */ 62 62 public $current_user = false; … … 68 68 69 69 /** 70 * @var array Topic views 70 * @var array Topic views. 71 71 */ 72 72 public $views = array(); 73 73 74 74 /** 75 * @var array Overloads get_option() 75 * @var array Overloads get_option(). 76 76 */ 77 77 public $options = array(); 78 78 79 79 /** 80 * @var array Storage of options not in the database 80 * @var array Storage of options not in the database. 81 81 */ 82 82 public $not_options = array(); 83 83 84 84 /** 85 * @var array Overloads get_user_meta() 85 * @var array Overloads get_user_meta(). 86 86 */ 87 87 public $user_options = array(); 88 88 89 89 /** 90 * @var array Dynamically initialized user roles 90 * @var array Dynamically initialized user roles. 91 91 */ 92 92 public $roles = array(); … … 95 95 96 96 /** 97 * Main bbPress Instance 98 * 99 * bbPress is fun 100 * Please load it only one time 101 * For this, we thank you 97 * Main bbPress Instance. 98 * 99 * bbPress is fun. 100 * Please load it only one time. 101 * For this, we thank you. 102 102 * 103 103 * Insures that only one instance of bbPress exists in memory at any one … … 108 108 * @staticvar object $instance 109 109 * @see bbpress() 110 * @return bbPress The one true bbPress 110 * @return bbPress The one true bbPress. 111 111 */ 112 112 public static function instance() { … … 143 143 144 144 /** 145 * A dummy magic method to prevent bbPress from being cloned 145 * A dummy magic method to prevent bbPress from being cloned. 146 146 * 147 147 * @since 2.0.0 bbPress (r2464) … … 152 152 153 153 /** 154 * A dummy magic method to prevent bbPress from being unserialized 154 * A dummy magic method to prevent bbPress from being unserialized. 155 155 * 156 156 * @since 2.0.0 bbPress (r2464) … … 161 161 162 162 /** 163 * Magic method for checking the existence of a certain custom field 163 * Magic method for checking the existence of a certain custom field. 164 164 * 165 165 * @since 2.1.0 bbPress (r3951) … … 170 170 171 171 /** 172 * Magic method for getting bbPress variables 172 * Magic method for getting bbPress variables. 173 173 * 174 174 * @since 2.1.0 bbPress (r3951) … … 181 181 182 182 /** 183 * Magic method for setting bbPress variables 183 * Magic method for setting bbPress variables. 184 184 * 185 185 * @since 2.1.0 bbPress (r3951) … … 190 190 191 191 /** 192 * Magic method for unsetting bbPress variables 192 * Magic method for unsetting bbPress variables. 193 193 * 194 194 * @since 2.3.0 bbPress (r4628) … … 201 201 202 202 /** 203 * Magic method to prevent notices and errors from invalid method calls 203 * Magic method to prevent notices and errors from invalid method calls. 204 204 * 205 205 * @since 2.2.0 bbPress (r4252) … … 325 325 326 326 /** 327 * Include required files 327 * Include required files. 328 328 * 329 329 * @since 2.0.0 bbPress (r2626) … … 402 402 403 403 /** 404 * Setup the default hooks and actions 404 * Setup the default hooks and actions. 405 405 * 406 406 * @since 2.0.0 bbPress (r2644) … … 450 450 451 451 /** 452 * Register bundled theme packages 452 * Register bundled theme packages. 453 453 * 454 454 * Note that since we currently have complete control over bbp-themes and … … 518 518 519 519 /** 520 * Setup the post types for forums, topics and replies 520 * Setup the post types for forums, topics and replies. 521 521 * 522 522 * @since 2.0.0 bbPress (r2597) … … 613 613 614 614 /** 615 * Register the post statuses used by bbPress 615 * Register the post statuses used by bbPress. 616 616 * 617 617 * We do some manipulation of the 'trash' status so trashed topics and … … 694 694 695 695 /** 696 * Trash fix 696 * Trash fix. 697 697 * 698 698 * We need to remove the internal arg and change that to … … 718 718 719 719 /** 720 * Register the topic tag and forum moderator taxonomies 720 * Register the topic tag and forum moderator taxonomies. 721 721 * 722 722 * @since 2.0.0 bbPress (r2464) Added bbp_get_topic_tag_tax_id() taxonomy … … 748 748 749 749 /** 750 * Register the bbPress views 750 * Register the bbPress views. 751 751 * 752 752 * @since 2.0.0 bbPress (r2789) … … 789 789 790 790 /** 791 * Register the bbPress shortcodes 791 * Register the bbPress shortcodes. 792 792 * 793 793 * @since 2.0.0 bbPress (r3031) … … 798 798 799 799 /** 800 * Register bbPress meta-data 801 * 802 * Counts added in 2.6.0 to avoid negative values 800 * Register bbPress meta-data. 801 * 802 * Counts added in 2.6.0 to avoid negative values. 803 803 * 804 804 * @since 2.6.0 bbPress (r6300) … … 870 870 871 871 /** 872 * Setup the currently logged-in user 872 * Setup the currently logged-in user. 873 873 * 874 874 * @since 2.0.0 bbPress (r2697) … … 879 879 880 880 /** 881 * Setup the user engagements strategy 881 * Setup the user engagements strategy. 882 882 * 883 883 * @since 2.6.0 bbPress (r6875) … … 894 894 895 895 /** 896 * Initialize forum-specific roles 896 * Initialize forum-specific roles. 897 897 * 898 898 * @since 2.6.0 … … 920 920 921 921 /** 922 * Add the bbPress-specific rewrite tags 922 * Add the bbPress-specific rewrite tags. 923 923 * 924 924 * @since 2.0.0 bbPress (r2753)
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)