Changeset 36867
- Timestamp:
- 03/06/2016 03:05:46 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r36617 r36867 831 831 elseif ( !$user->has_cap('edit_posts') ) 832 832 $redirect_to = $user->has_cap( 'read' ) ? admin_url( 'profile.php' ) : home_url(); 833 834 wp_redirect( $redirect_to ); 835 exit(); 833 836 } 834 837 wp_safe_redirect($redirect_to);
Note: See TracChangeset
for help on using the changeset viewer.