When a plugin states it requires a specific minimum PHP version (as defined in the `requires_php` field included in the plugin update API response), a user should not be allowed to update that plugin when the server does not satisfy the minimum PHP version. When this scenario is encountered, the update buttons and links are disabled and links to educational resources about PHP are displayed to the user with a notice. Props afragen, schlessera, desrosj. Fixes #43987. Built from https://develop.svn.wordpress.org/trunk@44937 git-svn-id: http://core.svn.wordpress.org/trunk@44768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
33 KiB
33 KiB