Skip to:
Content

BuddyPress.org

Changeset 1995


Ignore:
Timestamp:
09/29/2009 07:22:53 PM (15 years ago)
Author:
apeatling
Message:

Fixes #771

Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r1905 r1995  
    4646    $wpdb->query( "DROP TABLE IF EXISTS {$wpdb->base_prefix}bp_activity_sitewide" );
    4747   
    48     /* Rename the old user activity cached table */
     48    /* TODO: Rename the old user activity cached table */
    4949    //$wpdb->query( "RENAME TABLE {$wpdb->base_prefix}bp_activity_user_activity_cached TO {$bp->activity->table_name}" );
    5050
     
    6363    /* Register this in the active components array */
    6464    $bp->active_components[$bp->activity->slug] = $bp->activity->id;
     65   
     66    do_action( 'bp_activity_setup_globals' );
    6567}
    6668add_action( 'plugins_loaded', 'bp_activity_setup_globals', 5 );
  • trunk/bp-blogs.php

    r1979 r1995  
    120120    /* Register this in the active components array */
    121121    $bp->active_components[$bp->blogs->slug] = $bp->blogs->id;
     122
     123    do_action( 'bp_blogs_setup_globals' );
    122124}
    123125add_action( 'plugins_loaded', 'bp_blogs_setup_globals', 5 );   
  • trunk/bp-core.php

    r1982 r1995  
    166166    if ( !$bp->current_component )
    167167        $bp->current_component = $bp->default_component;
     168   
     169    do_action( 'bp_core_setup_globals' );
    168170}
    169171add_action( 'plugins_loaded', 'bp_core_setup_globals', 5 );
  • trunk/bp-forums.php

    r1960 r1995  
    2626    /* Register this in the active components array */
    2727    $bp->active_components[$bp->forums->slug] = $bp->forums->id;
     28
     29    do_action( 'bp_forums_setup' );
    2830}
    2931add_action( 'plugins_loaded', 'bp_forums_setup', 5 );
  • trunk/bp-friends.php

    r1905 r1995  
    4949    /* Register this in the active components array */
    5050    $bp->active_components[$bp->friends->slug] = $bp->friends->id;
     51
     52    do_action( 'friends_setup_globals' );
    5153}
    5254add_action( 'plugins_loaded', 'friends_setup_globals', 5 );
  • trunk/bp-groups.php

    r1982 r1995  
    148148   
    149149    $bp->groups->valid_status = apply_filters( 'groups_valid_status', array( 'public', 'private', 'hidden' ) );
     150
     151    do_action( 'groups_setup_globals' );
    150152}
    151153add_action( 'plugins_loaded', 'groups_setup_globals', 5 ); 
  • trunk/bp-messages.php

    r1957 r1995  
    8888    /* Register this in the active components array */
    8989    $bp->active_components[$bp->messages->slug] = $bp->messages->id;
     90
     91    do_action( 'messages_setup_globals' );
    9092}
    9193add_action( 'plugins_loaded', 'messages_setup_globals', 5 );   
  • trunk/bp-status.php

    r1986 r1995  
    1515    /* Register this in the active components array */
    1616    $bp->active_components[$bp->status->slug] = $bp->status->id;
     17
     18    do_action( 'bp_status_setup_globals' );
    1719}
    1820add_action( 'plugins_loaded', 'bp_status_setup_globals', 5 );   
  • trunk/bp-themes/bp-sn-parent/userbar.php

    r1993 r1995  
    1313       
    1414        <ul id="bp-nav">
    15             <?php bp_get_nav() ?>
     15            <?php bp_get_loggedin_user_nav() ?>
    1616        </ul>
    1717       
  • trunk/bp-wire.php

    r1913 r1995  
    2727    /* Register this in the active components array */
    2828    $bp->active_components[$bp->wire->slug] = $bp->wire->id;
     29
     30    do_action( 'bp_wire_setup_globals' );
    2931}
    3032add_action( 'plugins_loaded', 'bp_wire_setup_globals', 5 );
  • trunk/bp-xprofile.php

    r1977 r1995  
    151151    if ( function_exists( 'bp_wire_install' ) )
    152152        $bp->profile->table_name_wire = $wpdb->base_prefix . 'bp_xprofile_wire';
     153   
     154    do_action( 'xprofile_setup_globals' );
    153155}
    154156add_action( 'plugins_loaded', 'xprofile_setup_globals', 5 );
Note: See TracChangeset for help on using the changeset viewer.