Skip to:
Content

BuddyPress.org

Ticket #976: jeffsayre_xprofile_activity_patch.txt

File jeffsayre_xprofile_activity_patch.txt, 655 bytes (added by jeffsayre, 15 years ago)

Correct parameters for bp_activity_set_action() in bp-xprofile.php

Line 
1--- /var/folders/F-/F-VSD04C2PaLNk+BYn0iTU+++TI/-Tmp-/.XcodeSCMTemp/temp9545DC74.HEAD.bp-xprofile.php   2009-09-05 19:03:17.000000000 -0400
2+++ /Users/jeffsayre/Desktop/BuddyPress Test/trunk/bp-xprofile.php      2009-09-05 19:03:05.000000000 -0400
3@@ -586,7 +586,7 @@ function xprofile_register_activity_acti
4                return false;
5 
6        /* Register the activity stream actions for this component */
7-       bp_activity_set_action( $bp->profile->id, 'new_wire_post', __( 'New profile wire post', 'buddypress' ) );
8+       bp_activity_set_action( $bp->profile->id, 'updated_profile', __( 'Updated Profile', 'buddypress' ) );
9 
10        do_action( 'xprofile_register_activity_actions' );
11 }