[wp-trac] [WordPress Trac] #25239: $_SERVER['SERVER_NAME'] not a reliable when generating email host names

WordPress Trac noreply at wordpress.org
Fri Oct 14 15:46:11 UTC 2016

#25239: $_SERVER['SERVER_NAME'] not a reliable when generating email host names
 Reporter:  layotte                              |       Owner:
     Type:  defect (bug)                         |  SergeyBiryukov
 Priority:  normal                               |      Status:  reviewing
Component:  Mail                                 |   Milestone:  Future
 Severity:  normal                               |  Release
 Keywords:  has-patch dev-feedback needs-        |     Version:  3.8
  testing                                        |  Resolution:
                                                 |     Focuses:

Comment (by Ipstenu):

 @joemcgill - Probably an oversight or an 'It didn't break, leave it
 alone.' which actually applies to this change as a whole ;)

 Leading www's should be removed when we're talking about _email_ however.
 You don't email support at www.domain.com after all. :) (Hopefully a better
 argument since part of the point of this ticket is making VALID email

Ticket URL: <https://core.trac.wordpress.org/ticket/25239#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list