Changeset 6733 for trunk/bp-themes/bp-default/_inc/ajax.php
- Timestamp:
- 01/19/2013 03:40:42 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-themes/bp-default/_inc/ajax.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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.