Changeset 5683 for trunk/bp-core/bp-core-functions.php
- Timestamp:
- 02/09/2012 09:38:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r5659 r5683 183 183 */ 184 184 function bp_core_get_directory_pages() { 185 global $wpdb , $bp;185 global $wpdb; 186 186 187 187 // Set pages as standard class … … 262 262 */ 263 263 function bp_core_get_root_domain() { 264 global $wpdb;265 264 266 265 $domain = get_home_url( bp_get_root_blog_id() ); … … 494 493 */ 495 494 function bp_core_record_activity() { 496 global $bp;497 495 498 496 if ( !is_user_logged_in() ) … … 543 541 * @package BuddyPress Core 544 542 * 545 * @global $bp $bp546 543 * @global object $current_site 547 544 * @return string 548 545 */ 549 546 function bp_core_get_site_path() { 550 global $ bp, $current_site;547 global $current_site; 551 548 552 549 if ( is_multisite() ) … … 624 621 * 625 622 * @package BuddyPress Core 626 * @global object $bp Global BuddyPress settings object627 623 * @param string $slug The slug to redirect to for searching. 628 624 */ 629 625 function bp_core_action_search_site( $slug = '' ) { 630 global $bp;631 626 632 627 if ( !bp_is_current_component( bp_get_search_slug() ) ) … … 1156 1151 */ 1157 1152 function bp_do_404( $redirect = 'remove_canonical_direct' ) { 1158 global $ bp, $wp_query;1153 global $wp_query; 1159 1154 1160 1155 do_action( 'bp_do_404', $redirect );
Note: See TracChangeset
for help on using the changeset viewer.