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

WordPress Trac noreply at wordpress.org
Mon Jul 6 17:22:37 UTC 2020


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

Comment (by desrosj):

 I looked over how Core handles failure emails.

 When a Core auto-update attempt fails, a new failure email is not sent
 unless either the site admin email changes or the site attempts to update
 to a new version. For example, if the site fails to update to 5.4.1, and
 then two weeks later the site fails to update to 5.4.2, a new email will
 be sent.

 Instead of using time intervals, we could replace the timestamps with the
 plugin/theme versions attempting targeted in the update. This would
 require the option to remain, though, as the amount of time before the
 next version is released is unknown.

 Another interesting idea that @johnbillion had was to not send a failure
 email the first time the plugin fails to update, just in case it was a
 hiccup. I do like this option.

 Items 1-4 are the only scenarios likely to reoccur that require user
 intervention. Item 4 above (New version cannot be copied into the plugin's
 folder) would be the only scenario where there could be problems on the
 site as a result of a failed update and you would need to know right away,
 but this scenario would also trigger a WSOD protection email.

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


More information about the wp-trac mailing list