From 512617903f02a3c912c7e2153bcfde05ed2961b2 Mon Sep 17 00:00:00 2001 From: Yahnis Elsts Date: Fri, 15 Jan 2016 18:28:51 +0200 Subject: [PATCH] Remove left-over hooks that were causing errors. --- plugin-update-checker.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugin-update-checker.php b/plugin-update-checker.php index 00ec54c..260ebdc 100644 --- a/plugin-update-checker.php +++ b/plugin-update-checker.php @@ -121,12 +121,6 @@ class PluginUpdateChecker_3_0 { //Rename the update directory to be the same as the existing directory. add_filter('upgrader_source_selection', array($this, 'fixDirectoryName'), 10, 3); - //Keep track of which plugin WordPress is currently upgrading. - add_filter('upgrader_pre_install', array($this, 'setUpgradedPlugin'), 10, 2); - add_filter('upgrader_package_options', array($this, 'setUpgradedPluginFromOptions'), 10, 1); - add_filter('upgrader_post_install', array($this, 'clearUpgradedPlugin'), 10, 1); - add_action('upgrader_process_complete', array($this, 'clearUpgradedPlugin'), 10, 1); - //Enable language support (i18n). load_plugin_textdomain('plugin-update-checker', false, plugin_basename(dirname(__FILE__)) . '/languages');