Changeset 2815
- Timestamp:
- 03/08/2010 02:02:37 PM (16 years ago)
- Location:
- branches/1.2
- Files:
-
- 2 edited
-
bp-activity.php (modified) (1 diff)
-
bp-core.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-activity.php
r2814 r2815 252 252 bp_core_redirect( $bp->loggedin_user->domain ); 253 253 else 254 bp_core_redirect( $bp->root_domain);254 bp_core_redirect( site_url( 'wp-login.php?redirect_to=' . clean_url( $bp->root_domain . '/' . $bp->activity->slug . '/p/' . $bp->current_action ) ) ); 255 255 } 256 256 -
branches/1.2/bp-core.php
r2794 r2815 2104 2104 return $redirect_to; 2105 2105 2106 if ( !empty( $_REQUEST['redirect_to'] ) &&strpos( $_REQUEST['redirect_to'], 'wp-admin' ) )2106 if ( !empty( $_REQUEST['redirect_to'] ) || strpos( $_REQUEST['redirect_to'], 'wp-admin' ) ) 2107 2107 return $redirect_to; 2108 2108
Note: See TracChangeset
for help on using the changeset viewer.