Changeset 6733
- Timestamp:
- 01/19/2013 03:40:42 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-templates/bp-legacy/buddypress-functions.php
r6732 r6733 118 118 add_action( 'bp_group_header_actions', 'bp_group_join_button', 5 ); 119 119 add_action( 'bp_group_header_actions', 'bp_group_new_topic_button', 20 ); 120 add_action( 'bp_directory_groups_actions', 'bp_group_join_button' ); 120 add_action( 'bp_directory_groups_actions', 'bp_group_join_button' ); 121 121 } 122 122 123 123 // Blog button 124 124 if ( bp_is_active( 'blogs' ) ) 125 add_action( 'bp_directory_blogs_actions', 'bp_blogs_visit_blog_button' ); 125 add_action( 'bp_directory_blogs_actions', 'bp_blogs_visit_blog_button' ); 126 126 127 127 } … … 296 296 297 297 } 298 298 299 299 /** 300 300 * Add secondary avatar image to this activity stream's record, if supported. -
trunk/bp-themes/bp-default/_inc/ajax.php
r6732 r6733 280 280 if ( bp_has_activities ( 'include=' . $activity_id ) ) { 281 281 while ( bp_activities() ) { 282 bp_the_activity(); 282 bp_the_activity(); 283 283 locate_template( array( 'activity/entry.php' ), true ); 284 284 } … … 353 353 * @return mixed String on error, void on success 354 354 * @since BuddyPress (1.2) 355 */ 355 */ 356 356 function bp_dtheme_delete_activity() { 357 357 // Bail if not a POST action … … 611 611 echo '<a id="friend-' . $_POST['fid'] . '" class="remove" rel="remove" title="' . __( 'Cancel Friendship Request', 'buddypress' ) . '" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . (int) $_POST['fid'] . '/', 'friends_withdraw_friendship' ) . '" class="requested">' . __( 'Cancel Friendship Request', 'buddypress' ) . '</a>'; 612 612 613 } elseif ( 'pending' == BP_Friends_Friendship::check_is_friend( bp_loggedin_user_id(), (int) $_POST['fid'] ) ) { 613 } elseif ( 'pending' == BP_Friends_Friendship::check_is_friend( bp_loggedin_user_id(), (int) $_POST['fid'] ) ) { 614 614 check_ajax_referer( 'friends_withdraw_friendship' ); 615 615
Note: See TracChangeset
for help on using the changeset viewer.