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

Making WordPress.org noreply at wordpress.org
Wed Oct 11 19:36:10 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                |
-------------------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch => has-patch


Comment:

 Could be unrelated, but I've noticed that
 `notify_organizer_status_changed()` calls `switch_to_blog()` and then
 returns without calling `restore_current_blog()` if `$new_status` is
 neither `approved` nor `paid`.

 I've looked through all `switch_to_blog()` calls in WordCamp.org plugins
 and haven't noticed any other instances not followed by
 `restore_current_blog()` at a glance.

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


More information about the wp-meta mailing list