Changeset 37763
- Timestamp:
- 06/21/2016 02:11:42 PM (7 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
-
branches/4.0/src/wp-includes/pluggable.php
r36451 r37763 1009 1009 } 1010 1010 1011 if ( is_user_admin() ) { 1012 $scheme = 'logged_in'; 1013 } else { 1014 /** 1015 * Filter the authentication redirect scheme. 1016 * 1017 * @since 2.9.0 1018 * 1019 * @param string $scheme Authentication redirect scheme. Default empty. 1020 */ 1021 $scheme = apply_filters( 'auth_redirect_scheme', '' ); 1022 } 1011 /** 1012 * Filters the authentication redirect scheme. 1013 * 1014 * @since 2.9.0 1015 * 1016 * @param string $scheme Authentication redirect scheme. Default empty. 1017 */ 1018 $scheme = apply_filters( 'auth_redirect_scheme', '' ); 1023 1019 1024 1020 if ( $user_id = wp_validate_auth_cookie( '', $scheme) ) {
Note: See TracChangeset
for help on using the changeset viewer.