Changeset 6145
- Timestamp:
- 09/20/2007 09:53:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r6138 r6145 435 435 $wpp = parse_url(get_option('home')); 436 436 437 $allowed_hosts = (array) apply_filters('allowed_redirect_hosts', array($wpp['host']) );437 $allowed_hosts = (array) apply_filters('allowed_redirect_hosts', array($wpp['host']), $lp['host']); 438 438 439 439 if ( isset($lp['host']) && !in_array($lp['host'], $allowed_hosts) )
Note: See TracChangeset
for help on using the changeset viewer.