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

WordPress Trac noreply at wordpress.org
Mon Jul 6 16:22:19 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 johnbillion):

 This is looking good, but I wonder whether this is over-engineered and
 could still result in more than one email every three days.

 Considering that a failure of a plugin or theme update is relatively rare,
 could we instead use a transient that's just a flag to say "there was a
 failure" and set it to expire in 3 days, regardless of which plugin or
 theme failed to update, and then read that transient to determine whether
 to send subsequent failure emails?

 With the proposed patch, if I've somehow messed up my filesystem and PHP
 can't write to it and two separate plugins update separately within three
 days, it looks like that will still result in multiple emails within a
 three day period. Is that right?

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


More information about the wp-trac mailing list