Changeset 37757 for branches/4.5
- Timestamp:
- 06/21/2016 02:09:51 PM (8 years ago)
- Location:
- branches/4.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.5
-
branches/4.5/src/wp-includes/pluggable.php
r37030 r37757 985 985 } 986 986 987 if ( is_user_admin() ) { 988 $scheme = 'logged_in'; 989 } else { 990 /** 991 * Filter the authentication redirect scheme. 992 * 993 * @since 2.9.0 994 * 995 * @param string $scheme Authentication redirect scheme. Default empty. 996 */ 997 $scheme = apply_filters( 'auth_redirect_scheme', '' ); 998 } 987 /** 988 * Filters the authentication redirect scheme. 989 * 990 * @since 2.9.0 991 * 992 * @param string $scheme Authentication redirect scheme. Default empty. 993 */ 994 $scheme = apply_filters( 'auth_redirect_scheme', '' ); 999 995 1000 996 if ( $user_id = wp_validate_auth_cookie( '', $scheme) ) {
Note: See TracChangeset
for help on using the changeset viewer.