Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/06/2009 03:07:48 AM (17 years ago)
Author:
apeatling
Message:

Converted $bp as an array to $bp as an object. See this post for more info: http://buddypress.org/forums/topic.php?id=1125

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/buddypress-theme/buddypress-home/functions.php

    r954 r1021  
    4747        global $bp, $query_string;
    4848       
    49         if ( $bp['current_component'] == HOME_BLOG_SLUG  ) {
     49        if ( $bp->current_component == HOME_BLOG_SLUG  ) {
    5050                $pos = strpos( $query_string, 'pagename=' . HOME_BLOG_SLUG );
    5151               
     
    6868        global $bp, $current_blog;
    6969       
    70         if ( $bp['current_component'] == REGISTER_SLUG && $bp['current_action'] == '' ) {
     70        if ( $bp->current_component == REGISTER_SLUG && $bp->current_action == '' ) {
    7171                bp_core_signup_set_headers();
    7272                bp_core_load_template( 'register', true );
     
    7878        global $bp, $current_blog;
    7979       
    80         if ( $bp['current_component'] == ACTIVATION_SLUG && $bp['current_action'] == '' ) {
     80        if ( $bp->current_component == ACTIVATION_SLUG && $bp->current_action == '' ) {
    8181                bp_core_activation_set_headers();
    8282                bp_core_load_template( 'activate', true );
Note: See TracChangeset for help on using the changeset viewer.