diff --git a/misha-update-checker.php b/misha-update-checker.php index eeaba40..34b83d9 100644 --- a/misha-update-checker.php +++ b/misha-update-checker.php @@ -28,7 +28,7 @@ public function __construct() { $this->plugin_slug = plugin_basename( __DIR__ ); $this->version = '1.0'; $this->cache_key = 'misha_custom_upd'; - $this->cache_allowed = false; + $this->cache_allowed = true; add_filter( 'plugins_api', array( $this, 'info' ), 20, 3 ); add_filter( 'site_transient_update_plugins', array( $this, 'update' ) ); @@ -73,9 +73,6 @@ public function request(){ function info( $res, $action, $args ) { - // print_r( $action ); - // print_r( $args ); - // do nothing if you're not getting plugin information right now if( 'plugin_information' !== $action ) { return $res;