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

WordPress Trac noreply at wordpress.org
Thu Jan 4 23:53:26 UTC 2018


#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 pessoft):

 Replying to [comment:92 kitchin] and [comment:93 RedSand]:

 Thank you both for your feedback. Indeed, in my comment I tried to point
 out the general meaning for `SERVER_NAME` replacement, which could support
 the solution of this ticket. Also, I aimed for performing replacements
 related just to the ticket's topic.

 Does anyone see any risks or disadvantages for suggested approach ( and
 eventually better alternatives )?

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


More information about the wp-trac mailing list