[wp-trac] [WordPress Trac] #52963: Could use a Helper Function for Auto-Updates

WordPress Trac noreply at wordpress.org
Mon Apr 5 13:36:18 UTC 2021


#52963: Could use a Helper Function for Auto-Updates
--------------------------------------+------------------------------
 Reporter:  circlecube                |       Owner:  (none)
     Type:  feature request           |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Upgrade/Install           |     Version:  5.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by donmhico):

 Added a patch above. It maybe a good idea to have a function like
 `enable_auto_update_plugin( $plugin )` instead of having the logic
 embedded in `src/wp-admin/plugins.php`. This will make the unit testing
 easier.

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


More information about the wp-trac mailing list