Changeset 1750 for trunk/bp-xprofile.php
- Timestamp:
- 09/01/2009 02:12:35 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile.php
r1749 r1750 140 140 $bp->profile->format_notification_function = 'xprofile_format_notifications'; 141 141 $bp->profile->slug = BP_XPROFILE_SLUG; 142 143 /* Register the activity stream actions for this component */144 xprofile_register_activity_action( 'new_wire_post', __( 'New profile wire post', 'buddypress' ) );145 142 146 143 /* Register this in the active components array */ … … 580 577 */ 581 578 579 function xprofile_register_activity_actions() { 580 global $bp; 581 582 if ( !function_exists( 'bp_activity_set_action' ) ) 583 return false; 584 585 /* Register the activity stream actions for this component */ 586 bp_activity_set_action( $bp->profile->id, 'new_wire_post', __( 'New profile wire post', 'buddypress' ) ); 587 588 do_action( 'xprofile_register_activity_actions' ); 589 } 590 add_action( 'plugins_loaded', 'xprofile_register_activity_actions' ); 591 582 592 /** 583 593 * xprofile_record_activity()
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)