Changeset 871 for trunk/bp-xprofile.php
- Timestamp:
- 01/19/2009 05:09:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile.php
r854 r871 276 276 bp_core_delete_notifications_for_user_by_item_id( $bp['loggedin_userid'], $bp['current_userid'], 'friends', 'friendship_accepted' ); 277 277 278 do_action( 'xprofile_screen_display_profile', $is_new_friend ); 278 279 bp_catch_uri( 'profile/index' ); 279 280 } … … 290 291 */ 291 292 function xprofile_screen_edit_profile() { 292 if ( bp_is_home() ) 293 if ( bp_is_home() ) { 294 do_action( 'xprofile_screen_edit_profile' ); 293 295 bp_catch_uri( 'profile/edit' ); 296 } 294 297 } 295 298 … … 307 310 if ( bp_is_home() ) { 308 311 add_action( 'wp_head', 'bp_core_add_cropper_js' ); 312 do_action( 'xprofile_screen_change_avatar' ); 309 313 bp_catch_uri( 'profile/change-avatar' ); 310 314 } … … 338 342 </tr> 339 343 <?php } ?> 344 345 <?php do_action( 'xprofile_screen_notification_settings' ) ?> 340 346 </table> 341 347 <?php … … 450 456 * Activity and notification recording functions 451 457 */ 452 453 458 454 459 /** … … 564 569 } 565 570 571 do_action( 'xprofile_format_activity', $action, $item_id, $user_id, $action, $secondary_item_id, $for_secondary_user ); 572 566 573 return false; 567 574 } … … 591 598 } 592 599 } 600 601 do_action( 'xprofile_format_notifications', $action, $item_id, $secondary_item_id, $total_items ); 593 602 594 603 return false;
Note: See TracChangeset
for help on using the changeset viewer.