[wp-meta] [Making WordPress.org] #3190: Sponsor Invoices: "paid" emails are coming from multiple sites

Making WordPress.org noreply at wordpress.org
Wed Oct 25 14:16:29 UTC 2017


#3190: Sponsor Invoices: "paid" emails are coming from multiple sites
-------------------------------------+------------------
 Reporter:  Varantain                |       Owner:
     Type:  defect                   |      Status:  new
 Priority:  normal                   |   Milestone:
Component:  WordCamp Site & Plugins  |  Resolution:
 Keywords:  has-patch                |
-------------------------------------+------------------

Comment (by iandunn):

 Thanks @SergeyBiryukov :)

 I don't think [6052] will fix the issue, because I'm not seeing that
 function ever get called without a status without a valid `$new_status`.
 The return there is just a way to be extra careful. It's still correct to
 have the `restore_current_blog()` there, though.

 `wp_mail()` uses `$_SERVER['SERVER_NAME']` to set the From address, which
 wouldn't be affected by `switch_to_blog()`. I wonder if that's the cause?
 If so, we could probably just fix that by setting it in `$headers`.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3190#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list