Changeset 6136 for trunk/wp-includes/pluggable.php
- Timestamp:
- 09/19/2007 04:14:53 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r6134 r6136 428 428 $wpp = parse_url(get_option('home')); 429 429 430 if ( isset($lp['host']) && $lp['host'] != $wpp['host'] ) 430 $allowed_hosts = (array) apply_filters('allowed_redirect_hosts', array($wpp['host'])); 431 432 if ( isset($lp['host']) && !in_array($lp['host'], $allowed_hosts) ) 431 433 $location = get_option('siteurl') . '/wp-admin/'; 432 434
Note: See TracChangeset
for help on using the changeset viewer.