Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/25/2011 08:58:56 PM (13 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-actions.php

    r3772 r3917  
    6262    bp_core_redirect( $redirect );
    6363}
    64 add_action( 'wp', 'bp_activity_action_permalink_router', 3 );
     64add_action( 'bp_actions', 'bp_activity_action_permalink_router' );
    6565
    6666function bp_activity_action_delete_activity() {
     
    100100    bp_core_redirect( wp_get_referer() );
    101101}
    102 add_action( 'wp', 'bp_activity_action_delete_activity', 3 );
     102add_action( 'bp_actions', 'bp_activity_action_delete_activity' );
    103103
    104104function bp_activity_action_post_update() {
     
    147147    bp_core_redirect( wp_get_referer() );
    148148}
    149 add_action( 'wp', 'bp_activity_action_post_update', 3 );
     149add_action( 'bp_actions', 'bp_activity_action_post_update' );
    150150
    151151function bp_activity_action_post_comment() {
     
    179179    bp_core_redirect( wp_get_referer() . '#ac-form-' . $activity_id );
    180180}
    181 add_action( 'wp', 'bp_activity_action_post_comment', 3 );
     181add_action( 'bp_actions', 'bp_activity_action_post_comment' );
    182182
    183183function bp_activity_action_mark_favorite() {
     
    197197    bp_core_redirect( wp_get_referer() . '#activity-' . $bp->action_variables[0] );
    198198}
    199 add_action( 'wp', 'bp_activity_action_mark_favorite', 3 );
     199add_action( 'bp_actions', 'bp_activity_action_mark_favorite' );
    200200
    201201function bp_activity_action_remove_favorite() {
     
    215215    bp_core_redirect( wp_get_referer() . '#activity-' . $bp->action_variables[0] );
    216216}
    217 add_action( 'wp', 'bp_activity_action_remove_favorite', 3 );
     217add_action( 'bp_actions', 'bp_activity_action_remove_favorite' );
    218218
    219219function bp_activity_action_sitewide_feed() {
     
    229229    die;
    230230}
    231 add_action( 'wp', 'bp_activity_action_sitewide_feed', 3 );
     231add_action( 'bp_actions', 'bp_activity_action_sitewide_feed' );
    232232
    233233function bp_activity_action_personal_feed() {
     
    243243    die;
    244244}
    245 add_action( 'wp', 'bp_activity_action_personal_feed', 3 );
     245add_action( 'bp_actions', 'bp_activity_action_personal_feed' );
    246246
    247247function bp_activity_action_friends_feed() {
     
    257257    die;
    258258}
    259 add_action( 'wp', 'bp_activity_action_friends_feed', 3 );
     259add_action( 'bp_actions', 'bp_activity_action_friends_feed' );
    260260
    261261function bp_activity_action_my_groups_feed() {
     
    271271    die;
    272272}
    273 add_action( 'wp', 'bp_activity_action_my_groups_feed', 3 );
     273add_action( 'bp_actions', 'bp_activity_action_my_groups_feed' );
    274274
    275275function bp_activity_action_mentions_feed() {
     
    285285    die;
    286286}
    287 add_action( 'wp', 'bp_activity_action_mentions_feed', 3 );
     287add_action( 'bp_actions', 'bp_activity_action_mentions_feed' );
    288288
    289289function bp_activity_action_favorites_feed() {
     
    299299    die;
    300300}
    301 add_action( 'wp', 'bp_activity_action_favorites_feed', 3 );
     301add_action( 'bp_actions', 'bp_activity_action_favorites_feed' );
    302302
    303303?>
Note: See TracChangeset for help on using the changeset viewer.