Plugin Directory

Opened 14 years ago

Last modified 14 years ago

#1532 new defect

Revision truncate activate/deactivate hooks

Reported by: manfer's profile manfer's profile manfer Owned by: ajalapus's profile ajalapus's profile ajalapus
Priority: normal Severity: normal
Plugin: not-listed Keywords: revision-truncate
Cc:

Description

Revision truncate plugin is using the plugin_loaded action to run some code that must run when the plugin is activate and deactivate.

That hook is not correct one to use. There are specific hooks, register_activation_hook, register_deactivation_hook.

I attach a patch.

Attachments (1)

revision_truncate_activate_deactivate.patch (4.1 KB) - added by manfer 14 years ago.

Download all attachments as: .zip

Change History (2)

#1 @manfer
14 years ago

  • Component changed from root-wp-cookie to not-listed
Note: See TracTickets for help on using tickets.