Changeset 6034
- Timestamp:
- 05/14/2012 04:06:01 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-filters.php
r6031 r6034 147 147 // logged-in user has any business to conduct in the Dashboard before allowing the 148 148 // redirect to go through 149 if ( !empty( $ _REQUEST['redirect_to'] ) && ( false === strpos( $_REQUEST['redirect_to'], 'wp-admin' ) || user_can( $user, 'edit_posts' ) ) ) {149 if ( !empty( $redirect_to ) && ( false === strpos( $redirect_to, 'wp-admin' ) || user_can( $user, 'edit_posts' ) ) ) { 150 150 return $redirect_to; 151 151 }
Note: See TracChangeset
for help on using the changeset viewer.