Changeset 10575 for trunk/wp-includes/pluggable.php
- Timestamp:
- 02/15/2009 01:31:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r10541 r10575 329 329 } 330 330 331 // If we don't have an email from the input headers 331 /* If we don't have an email from the input headers default to wordpress@$sitename 332 * Some hosts will block outgoing mail from this address if it doesn't exist but 333 * there's no easy alternative. Defaulting to admin_email might appear to be another 334 * option but some hosts may refuse to relay mail from an unknown domain. See 335 * http://trac.wordpress.org/ticket/5007. 336 */ 337 332 338 if ( !isset( $from_email ) ) { 333 339 // Get the site domain and get rid of www. … … 340 346 } 341 347 342 // Set the from name and email348 // Plugin authors can override the potentially troublesome default 343 349 $phpmailer->From = apply_filters( 'wp_mail_from', $from_email ); 344 350 $phpmailer->FromName = apply_filters( 'wp_mail_from_name', $from_name );
Note: See TracChangeset
for help on using the changeset viewer.