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

WordPress Trac noreply at wordpress.org
Wed Jul 1 05:50:44 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 dev-feedback  |     Focuses:
------------------------------------+---------------------
Changes (by arpitgshah):

 * keywords:  has-patch => has-patch dev-feedback


Comment:

 Hey All,

 I have added the patch for the checking failure plugins and theme update
 with store in database and check for the >=3 days to add within the auto
 update emails with wp_version_check cron.

 Result to store values in database,

 New option_name - failed_update_plugins_themes

 Array Result -

 {{{#!php
 <?php
 Array
 (
     [plugin] => Array
         (
             [0] => Array
                 (
                     [name] => Contact Form 7
                     [failure_time] => 1593519763
                     [file_name] => contact-form-7/wp-contact-form-7.php
                 )
             [1] => Array
                 (
                     [name] => Akismet Anti-Spam
                     [failure_time] => 1593519906
                     [file_name] => akismet/akismet.php
                 )
         )
     [theme] => Array
         (
             [0] => Array
                 (
                     [name] => Storefront
                     [failure_time] => 1593520948
                     [file_name] => storefront
                 )
         )
 )
 }}}

 Please let me know your feedback for the same.

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


More information about the wp-trac mailing list