Changeset 7347 for trunk/bp-xprofile/bp-xprofile-loader.php
- Timestamp:
- 08/12/2013 10:30:52 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile/bp-xprofile-loader.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-loader.php
r7277 r7347 75 75 * 76 76 * @since BuddyPress (1.5) 77 * @global BuddyPress $bp The one true BuddyPress instance78 77 */ 79 78 public function setup_globals( $args = array() ) { 80 global $bp;79 $bp = buddypress(); 81 80 82 81 // Define a slug, if necessary … … 208 207 /** 209 208 * Set up the Toolbar 210 *211 * @global BuddyPress $bp The one true BuddyPress instance212 209 */ 213 210 public function setup_admin_bar( $wp_admin_nav = array() ) { 214 global $bp;211 $bp = buddypress(); 215 212 216 213 // Prevent debug notices … … 262 259 /** 263 260 * Sets up the title for pages and <title> 264 *265 * @global BuddyPress $bp The one true BuddyPress instance266 261 */ 267 262 function setup_title() { 268 global $bp;263 $bp = buddypress(); 269 264 270 265 if ( bp_is_profile_component() ) { … … 286 281 287 282 function bp_setup_xprofile() { 288 global $bp;283 $bp = buddypress(); 289 284 290 285 if ( !isset( $bp->profile->id ) )
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)