[wp-trac] [WordPress Trac] #46613: Ensure plugin auto updates are blocked if required PHP version is not supported

WordPress Trac noreply at wordpress.org
Fri Mar 22 18:25:14 UTC 2019


#46613: Ensure plugin auto updates are blocked if required PHP version is not
supported
-------------------------------+------------------------------------
 Reporter:  TimothyBlynJacobs  |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Upgrade/Install    |    Version:  trunk
 Severity:  normal             |   Keywords:  needs-patch servehappy
  Focuses:                     |
-------------------------------+------------------------------------
 In #43987 and #44350 plugin updates were blocked from the UI if the PHP
 requirements were not met. This should be extended to prevent an auto
 update from skipping this check and being installed automatically.

 I think doing the same `requires_php` checks from the UI in
 `WP_Automatic_Updater::should_update()` would work.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46613>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list