Changes between Initial Version and Version 6 of Ticket #27188
- Timestamp:
- 02/24/2014 09:08:19 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27188
-
Property
Summary
changed from
deactived_plugin behaves improperlytodeactivated_plugin behaves improperly -
Property
Version
changed from
trunkto2.9 -
Property
Milestone
changed from
Awaiting Reviewto3.9 - Property Keywords has-patch added
-
Property
Summary
changed from
-
Ticket #27188 – Description
initial v6 14 14 }}} 15 15 16 The plugin still shows that it is active. So if I hook in here to check if plugin has been deactivated, then it fails. Instead, the `deactiv ed_plugin` hook should appear after the `update_option` call, which is where the plugin is actually deactivated.16 The plugin still shows that it is active. So if I hook in here to check if plugin has been deactivated, then it fails. Instead, the `deactivated_plugin` hook should appear after the `update_option` call, which is where the plugin is actually deactivated. 17 17 18 18 OR, the docs are wrong and should be updated. 19 19 20 Attached is a sample addthis plugin extension that deactivates after Addthis is deactiv ed by being forced to use `update_option_active_plugins` and `update_option_active_sitewide_plugins`.20 Attached is a sample addthis plugin extension that deactivates after Addthis is deactivated by being forced to use `update_option_active_plugins` and `update_option_active_sitewide_plugins`. 21 21 22 22 See [https://gist.github.com/wpsmith/26c2e07370ee8b4c3e3f Github Gist sample plugin] for [http://wordpress.org/plugins/addthis/ Addthis].