Allow plugins to add info to the "new version" message
|Reported by:||JohnLamansky||Owned by:|
|Component:||Plugins||Keywords:||has-patch tested commit|
This patch would allow plugins to insert content directly after the "There is a new version of (name) available" line in the plugin administration, via a new after_plugin_update_row action.
A plugin could hook into this to insert pre-upgrade reminders or instructions, for example. (e.g. for those plugins that store custom files needing to be backed up.) I also would find this new action useful for a plugin I'm developing.
I know it's possible to add another <tr></tr> row using the existing after_plugin_row action, but it would look cleaner to include all upgrade-related information in the same row.
Change History (8)
- Milestone 2.8 deleted
- Resolution set to invalid
- Status changed from new to closed
comment:3 JohnLamansky — 5 years ago
- Milestone set to 2.8
- Resolution invalid deleted
- Status changed from closed to reopened