Changeset 5414
- Timestamp:
- 11/29/2011 09:41:36 PM (11 years ago)
- Location:
- trunk/bp-activity
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-actions.php
r5297 r5414 89 89 // Set redirect to users' activity stream 90 90 } else { 91 $redirect = bp_core_get_user_domain( $activity->user_id, $activity->user_nicename, $activity->user_login ) . bp_get_activity_slug() . '/' . $activity->id ;91 $redirect = bp_core_get_user_domain( $activity->user_id, $activity->user_nicename, $activity->user_login ) . bp_get_activity_slug() . '/' . $activity->id . '/'; 92 92 } 93 93 -
trunk/bp-activity/bp-activity-akismet.php
r5327 r5414 175 175 'id' => 'activity_make_spam_' . bp_get_activity_id(), 176 176 'link_class' => 'bp-secondary-action spam-activity confirm button item-button', 177 'link_href' => wp_nonce_url( bp_get_root_domain() . '/' . bp_get_activity_slug() . '/spam/' . bp_get_activity_id() , 'bp_activity_akismet_spam_' . bp_get_activity_id() ),177 'link_href' => wp_nonce_url( bp_get_root_domain() . '/' . bp_get_activity_slug() . '/spam/' . bp_get_activity_id() . '/', 'bp_activity_akismet_spam_' . bp_get_activity_id() ), 178 178 'link_text' => __( 'Spam', 'buddypress' ), 179 179 'wrapper' => false, … … 204 204 'id' => 'activity_make_spam_' . bp_get_activity_comment_id(), 205 205 'link_class' => 'bp-secondary-action spam-activity-comment confirm', 206 'link_href' => wp_nonce_url( bp_get_root_domain() . '/' . bp_get_activity_slug() . '/spam/' . bp_get_activity_comment_id() . ' ?cid=' . bp_get_activity_comment_id(), 'bp_activity_akismet_spam_' . bp_get_activity_comment_id() ),206 'link_href' => wp_nonce_url( bp_get_root_domain() . '/' . bp_get_activity_slug() . '/spam/' . bp_get_activity_comment_id() . '/?cid=' . bp_get_activity_comment_id(), 'bp_activity_akismet_spam_' . bp_get_activity_comment_id() ), 207 207 'link_text' => __( 'Spam', 'buddypress' ), 208 208 'wrapper' => false, -
trunk/bp-activity/bp-activity-screens.php
r5396 r5414 248 248 is_user_logged_in() ? 249 249 bp_core_redirect( $bp->loggedin_user->domain ) : 250 bp_core_redirect( site_url( 'wp-login.php?redirect_to=' . esc_url( bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $bp->current_action ) ) );250 bp_core_redirect( site_url( 'wp-login.php?redirect_to=' . esc_url( bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $bp->current_action . '/' ) ) ); 251 251 } 252 252
Note: See TracChangeset
for help on using the changeset viewer.