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.

File:
1 edited

Legend:

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

    r3844 r3917  
    2525    }
    2626}
    27 add_action( 'wp', 'bp_activity_screen_index', 2 );
     27add_action( 'bp_screens', 'bp_activity_screen_index' );
    2828
    2929function bp_activity_screen_my_activity() {
     
    8989    global $bp;
    9090
    91     bp_users_delete_notifications_by_type( $bp->loggedin_user->id, $bp->activity->id, 'new_at_mention' );
     91    bp_members_delete_notifications_by_type( $bp->loggedin_user->id, $bp->activity->id, 'new_at_mention' );
    9292}
    9393add_action( 'bp_activity_screen_my_activity',               'bp_activity_remove_screen_notifications' );
     
    161161    bp_core_load_template( apply_filters( 'bp_activity_template_profile_activity_permalink', 'members/single/activity/permalink' ) );
    162162}
    163 add_action( 'wp', 'bp_activity_screen_single_activity_permalink', 3 );
     163add_action( 'bp_screens', 'bp_activity_screen_single_activity_permalink' );
    164164
    165165function bp_activity_screen_notification_settings() {
Note: See TracChangeset for help on using the changeset viewer.