Register uninstall hook on activation #74

merged 1 commit into from Dec 26, 2016


None yet

2 participants

bjork commented Dec 26, 2016

Register uninstall hook on plugin activation instead of on every page load. This will prevent three unnecessary database queries to be made.

Fixes #73

@futtta futtta merged commit 129fd99 into futtta:master Dec 26, 2016

1 check passed

Scrutinizer 1 updated code elements
@zytzagoo zytzagoo added a commit to zytzagoo/autoptimize that referenced this pull request Jan 2, 2017
@zytzagoo zytzagoo upstream PR#74 change
Merge pull request #74 from bjork/73-register-uninstall-hook-on-activate
Register uninstall hook on activation, thanks @bjork!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment