Opened 11 years ago
Closed 11 years ago
#26925 closed enhancement (duplicate)
Add native version checks (php, core, multisite) for plugins
Reported by: | cfoellmann | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.9 |
Component: | Plugins | Keywords: | |
Focuses: | Cc: |
Description
Additional core plugin headers for compatibility filtering on plugin.php.
Fully optional like Network: True
Headers:
$plugin_data['Core'] // The minimum WordPress version required. $plugin_data['PHP'] // The minimal PHP version required.
Additional view on plugins.php:
plugins.php?plugin_status=incompatible // listing all incompatible plugins (removed from ?plugin_status=all)
DONE:
- ADDED headers: Core, PHP, Multisite
- ADDED checks for headers values: is_plugin_compatible() + separate checks for the three single headers
- ADDED view "incompatible" to plugins.php
- UNSET incompatible plugins from view "all"
- ADDED option to "Delete" plugin on view "incompatible"
TODO:
- ADD function to remove incompatible plugins from mu-plugins loading
- ADD display of compatibility issues details for each single plugin
Direct checkout: https://github.com/cfoellmann/WordPress/tree/headers
Patch(es): Attached
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
patch-0.1