Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/24/2014 04:35:52 AM (9 years ago)
Author:
imath
Message:

Move the 'new_member' activity type into the Members component

Since BuddyPress 1.1, the 'new_member' type was attached to the xProfile component. In version 2.2, we are moving it into the Members one. Once the user will have upgraded to this version, every existing 'new_member' activity items will have their component updated to the 'members' one and each time a new member will register, the 'new_member' activity will be attached to the members component.

Props boonebgorges, DJPaul

Fixes #5807

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/deprecated/2.2.php

    r9251 r9273  
    7878    bp_blogs_clear_blog_object_cache( false, $recorded_blog_obj->user_id );
    7979}
     80
     81/**
     82 * Format 'new_member' activity actions.
     83 *
     84 * @since BuddyPress (2.0.0)
     85 * @deprecated BuddyPress (2.2.0)
     86 *
     87 * @param string $action Static activity action.
     88 * @param object $activity Activity object.
     89 * @return string
     90 */
     91function bp_xprofile_format_activity_action_new_member( $action, $activity ) {
     92    _deprecated_function( __FUNCTION__, '2.2', 'bp_members_format_activity_action_new_member()' );
     93
     94    $action = apply_filters( 'bp_xprofile_format_activity_action_new_member', $action, $activity );
     95    return bp_members_format_activity_action_new_member( $action, $activity );
     96}
Note: See TracChangeset for help on using the changeset viewer.