[wp-trac] [WordPress Trac] #59198: Bulk actions "Update" ignores Minimum PHP Version Requirement

WordPress Trac noreply at wordpress.org
Sat Sep 2 18:50:28 UTC 2023


#59198: Bulk actions "Update" ignores Minimum PHP Version Requirement
-------------------------------------------------+-------------------------
 Reporter:  salcode                              |       Owner:  costdev
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.4
Component:  Upgrade/Install                      |     Version:
 Severity:  critical                             |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  testing-info                                   |
-------------------------------------------------+-------------------------

Comment (by zunaid321):

 == Test Report
 This report validates that the indicated patch addresses the issue.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/5116

 === Environment
 - OS: Windows 11 (22H2)
 - Web Server: nginx/1.25.1
 - PHP: 7.4.33
 - WordPress: 6.4-alpha-56267-src
 - Browser: Chrome Version 113.0.5672.126 (Official Build) (64-bit)
 - Theme: Twenty Twenty-Three

 === Before Applying The Patch
 - Followed the instructions of @salcode
 - ❌ Fatal error comes up after the plugin is updated in bulk

 === After Applying The Patch
 - Followed the same instructions.
 - ✅ The folllowing message comes up after the update is initiated in
 bulk:
 - 'Update failed: The PHP version on your server is 7.4.33, however the
 new plugin version requires 8.0.'

 === Supplemental Artifacts
 **Before the plugin is updated:**
 [[Image(https://i.imgur.com/w0ueGQs.png)]]

 **Fatal error shows up after the plugin is updated:**
 [[Image(https://i.imgur.com/CBIlSrR.png)]]

 **After the patch is applied, the message shows up:**
 [[Image(https://i.imgur.com/DFR7oLu.png)]]

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


More information about the wp-trac mailing list