Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/25/2011 08:58:56 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Rename new 'bp-users' component to 'bp-members' for consistency through-out project.
Core, Messages, and Friends Components now use the BP_Component class.
Split Friends and Messages components into smaller files.
Change references to 'profile' to 'xprofile' through-out project for consistency.
Introduce 'bp_actions' and 'bp_screens' standard hooks to replace the usage of 'wp' through-out project.
Move component loader sequence into bp-core-bootstrap.php,
Move old root_component action into 1.3 deprecated file.

Location:
trunk/bp-members
Files:
1 copied
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-screens.php

    r3916 r3917  
    11<?php
    22
    3 function bp_users_screen_index() {
     3function bp_members_screen_index() {
    44    global $bp;
    55
     
    77        $bp->is_directory = true;
    88
    9         do_action( 'bp_users_screen_index' );
     9        do_action( 'bp_members_screen_index' );
    1010
    11         bp_core_load_template( apply_filters( 'bp_users_screen_index', 'members/index' ) );
     11        bp_core_load_template( apply_filters( 'bp_members_screen_index', 'members/index' ) );
    1212    }
    1313}
    14 add_action( 'wp', 'bp_users_screen_index', 2 );
     14add_action( 'bp_screens', 'bp_members_screen_index' );
    1515
    1616
Note: See TracChangeset for help on using the changeset viewer.