[wp-trac] [WordPress Trac] #50448: Add tolerance to plugin and theme auto-update failure emails

WordPress Trac noreply at wordpress.org
Tue Jul 7 18:58:46 UTC 2020


#50448: Add tolerance to plugin and theme auto-update failure emails
------------------------------+----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.5
Component:  Administration    |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48397" 48397]:
 {{{
 #!CommitTicketReference repository="" revision="48397"
 Administration: Prevent repeat emails for identical plugin or theme auto-
 update attempt failures.

 This change adds a throttle mechanism to plugin and theme auto-update
 failure emails using similar logic to the email sent for a Core auto-
 update.

 The first time a plugin or theme auto-update fails, the package and
 `new_version` will be tracked in the `auto_plugin_theme_update_emails`
 option. An email for this specific update attempt will not be resent.

 However, if this update fails again and non-repeat failures or successful
 updates are also present, then the failure information will be included in
 that email (an email needs to be sent for the new events regardless).

 Props johnbillion, arpitgshah, desrosj, audrasjb, pbiron, earnjam.
 Fixes #50448.
 }}}

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


More information about the wp-trac mailing list