Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #9757, comment 139


Ignore:
Timestamp:
07/04/2020 09:09:34 PM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9757, comment 139

    initial v1  
    1212
    1313To implement this it just needs to look for `Requires at least` and `Requires PHP` in the uploaded plugin/theme readme.txt (if not present in the plugin's main file), and do a `version_compare()`  when one or both of these are known. Then show an error and prevent updating if requirements are not met.
     14
     15Also the `Requires at least` and `Requires PHP` text in the UI should probably be replaced with `Requires WordPress version` and `Requires PHP version`. Will fix.