Skip to:

Opened 10 years ago

Closed 10 years ago

#717 closed defect (fixed)

Deactivate plugin actions typo

Reported by: sambauers Owned by:
Milestone: 0.8.3 Priority: normal
Severity: normal Version: 1.0-rc-2
Component: Back-end Keywords: plugins has-patch


I think there is a problem with the naming convention for plugin deactivation hooks.

In the file bb-admin/plugins.php the action names appear to be missing the underscore between the prefix and the filename.

Attached patch adds the underscore to match the calls in the function bb_register_deactivation_hook()

Attachments (1)

plugin_deactivation.build912.patch (768 bytes) - added by sambauers 10 years ago.

Download all attachments as: .zip

Change History (3)

#1 @Null
10 years ago

Yes and we also need some excamples of how to use these on_plugin_activation, on_plugin_deactivation actions. Asked on the forums, but no1 knows :(

#2 @mdawaffe
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [920]) plugin deactivation hook fix from sambauers. Fixes #717

Note: See TracTickets for help on using tickets.