Changeset 7554 for trunk/bp-forums/bp-forums-loader.php
- Timestamp:
- 11/10/2013 02:04:10 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-loader.php
r7454 r7554 6 6 * A discussion forums component. Comes bundled with bbPress stand-alone. 7 7 * 8 * Note: The bp-forums component has been retired. Use the bbPress WordPress 9 * plugin instead. 10 * 8 11 * @package BuddyPress 9 * @subpackage Forums Core12 * @subpackage Forums 10 13 */ 11 14 … … 16 19 17 20 /** 18 * Start the forums component creation process 19 * 20 * @since BuddyPress (1.5 )21 * Start the forums component creation process. 22 * 23 * @since BuddyPress (1.5.0) 21 24 */ 22 25 function __construct() { … … 32 35 33 36 /** 34 * Set up globals37 * Set up bp-forums global settings. 35 38 * 36 39 * The BP_FORUMS_SLUG constant is deprecated, and only used here for 37 40 * backwards compatibility. 38 41 * 39 * @since BuddyPress (1.5) 42 * @since BuddyPress (1.5.0) 43 * 44 * @see BP_Component::setup_globals() for description of parameters. 45 * 46 * @param array $args See {@link BP_Component::setup_globals()}. 40 47 */ 41 48 public function setup_globals( $args = array() ) { … … 68 75 69 76 /** 70 * Include files 77 * Include bp-forums files. 78 * 79 * @see BP_Component::includes() for description of parameters. 80 * 81 * @param array $includes See {@link BP_Component::includes()}. 71 82 */ 72 83 public function includes( $includes = array() ) { … … 96 107 97 108 /** 98 * Setup BuddyBar navigation 109 * Set up component navigation. 110 * 111 * @since BuddyPress (1.5.0) 112 * 113 * @see BP_Component::setup_nav() for a description of arguments. 114 * 115 * @param array $main_nav Optional. See BP_Component::setup_nav() for 116 * description. 117 * @param array $sub_nav Optional. See BP_Component::setup_nav() for 118 * description. 99 119 */ 100 120 public function setup_nav( $main_nav = array(), $sub_nav = array() ) { … … 156 176 157 177 /** 158 * Set up the Toolbar 178 * Set up bp-forums integration with the WordPress admin bar. 179 * 180 * @since BuddyPress (1.5.0) 181 * 182 * @see BP_Component::setup_admin_bar() for a description of arguments. 183 * 184 * @param array $wp_admin_nav See BP_Component::setup_admin_bar() 185 * for description. 159 186 */ 160 187 public function setup_admin_bar( $wp_admin_nav = array() ) { … … 203 230 204 231 /** 205 * Set s up the title for pages and <title>232 * Set up the title for pages and the <title> element. 206 233 */ 207 234 function setup_title() { … … 226 253 } 227 254 255 /** 256 * Set up the bp-forums component. 257 */ 228 258 function bp_setup_forums() { 229 259 buddypress()->forums = new BP_Forums_Component();
Note: See TracChangeset
for help on using the changeset viewer.