Commit f7d2e318 authored by Rolf Forst's avatar Rolf Forst
Browse files

Fix update_version call

parent 187ed252
...@@ -12,10 +12,10 @@ class Main ...@@ -12,10 +12,10 @@ class Main
{ {
$this->plugin_basename = $plugin_basename; $this->plugin_basename = $plugin_basename;
add_action('admin_enqueue_scripts', [$this, 'admin_enqueue_scripts']);
$update = new Update(); $update = new Update();
$update->update_version(); add_action('init', [$update, 'update_version']);
add_action('admin_enqueue_scripts', [$this, 'admin_enqueue_scripts']);
$settings = new Settings(); $settings = new Settings();
$expiration = new Expiration(); $expiration = new Expiration();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment