Changeset 8808
- Timestamp:
- 08/12/2014 12:31:22 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-xprofile/bp-xprofile-activity.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-activity.php
r8807 r8808 4 4 * BuddyPress XProfile Activity & Notification Functions 5 5 * 6 * These functions handle the recording, deleting and formatting of activity items and7 * notifications for the user and for this specific component.6 * These functions handle the recording, deleting and formatting of activity 7 * items and notifications for the user and for this specific component. 8 8 * 9 9 * @package BuddyPress … … 14 14 if ( !defined( 'ABSPATH' ) ) exit; 15 15 16 /** 17 * Register the activity actions for the Extended Profile component 18 * 19 * @since BuddyPress (1.0.0) 20 * 21 * @uses bp_activity_set_action() To setup the individual actions 22 */ 16 23 function xprofile_register_activity_actions() { 17 global $bp;18 24 19 25 // Register the activity stream actions for this component … … 28 34 ); 29 35 36 // Get the profile component ID 37 $profile_id = buddypress()->profile->id; 38 30 39 bp_activity_set_action( 31 $ bp->profile->id,40 $profile_id, 32 41 'new_member', 33 42 __( 'New member registered', 'buddypress' ), … … 38 47 39 48 bp_activity_set_action( 40 $ bp->profile->id,49 $profile_id, 41 50 'updated_profile', 42 51 __( 'Updated Profile', 'buddypress' ), … … 102 111 */ 103 112 function bp_xprofile_format_activity_action_updated_profile( $action, $activity ) { 113 104 114 // Note for translators: The natural phrasing in English, "Joe updated 105 115 // his profile", requires that we know Joe's gender, which we don't. If … … 116 126 * it will show in the users activity stream (if installed) 117 127 * 118 * @since BuddyPress (1.0.0) 0128 * @since BuddyPress (1.0.0) 119 129 * 120 130 * @package BuddyPress
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)