Changes from trunk/wp-includes/pluggable.php at r6145 to branches/2.3/wp-includes/pluggable.php at r6266
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/wp-includes/pluggable.php
r6145 r6266 226 226 // Set the from name and email 227 227 $phpmailer->From = apply_filters( 'wp_mail_from', $from_email ); 228 $phpmailer->Sender = apply_filters( 'wp_mail_from', $from_email ); 228 229 $phpmailer->FromName = apply_filters( 'wp_mail_from_name', $from_name ); 229 230 … … 437 438 $allowed_hosts = (array) apply_filters('allowed_redirect_hosts', array($wpp['host']), $lp['host']); 438 439 439 if ( isset($lp['host']) && !in_array($lp['host'], $allowed_hosts) )440 if ( isset($lp['host']) && ( !in_array($lp['host'], $allowed_hosts) && $lp['host'] != strtolower($wpp['host'])) ) 440 441 $location = get_option('siteurl') . '/wp-admin/'; 441 442
Note: See TracChangeset
for help on using the changeset viewer.