Changeset 6711 for trunk/wp-includes/pluggable.php
- Timestamp:
- 02/02/2008 06:42:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r6685 r6711 776 776 $wpp = parse_url(get_option('home')); 777 777 778 $allowed_hosts = (array) apply_filters('allowed_redirect_hosts', array($wpp['host']), $lp['host']);778 $allowed_hosts = (array) apply_filters('allowed_redirect_hosts', array($wpp['host']), isset($lp['host']) ? $lp['host'] : ''); 779 779 780 780 if ( isset($lp['host']) && ( !in_array($lp['host'], $allowed_hosts) && $lp['host'] != strtolower($wpp['host'])) )
Note: See TracChangeset
for help on using the changeset viewer.