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

WordPress Trac noreply at wordpress.org
Tue Aug 23 11:32:46 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 mt8.biz):

 Replying to [comment:28 mensmaximus]:
 > Replying to [comment:27 mt8.biz]:
 > > Should use the DB settings instead of using the $ _SEREVER I think
 >
 > I already posted a suggestion to use the home_url:
 https://core.trac.wordpress.org/ticket/25239#comment:22

 yes. I khow.

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


More information about the wp-trac mailing list