- Timestamp:
- 09/24/2018 03:45:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/common/includes/wporg-sso/class-wporg-sso.php
r7689 r7695 44 44 // If on the SSO host, add the requesting source (eg: make.wordpress.org), if within our bounds 45 45 $url = parse_url( $this->_get_safer_redirect_to() ); 46 $host = ( empty( $url) ) ? null : $url['host'];46 $host = ( ! $url || ! isset( $url['host'] ) ) ? null : $url['host']; 47 47 } else { 48 48 // If not on the SSO host, add login.wordpress.org, to be safe
Note: See TracChangeset
for help on using the changeset viewer.