Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
afragen committed Oct 4, 2022
2 parents 1f4a297 + d7f77b7 commit 8e2d174
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#### [unreleased]

#### 11.1.4 / 2022-10-04 (hotfix)
* initialize Appsero SDK from `plugins_loaded` hook

#### 11.1.3 / 2022-10-04
* replace Freemius SDK with Appsero SDK

Expand Down
3 changes: 1 addition & 2 deletions git-updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Plugin Name: Git Updater
* Plugin URI: https://git-updater.com
* Description: A plugin to automatically update GitHub hosted plugins, themes, and language packs. Additional API plugins available for Bitbucket, GitLab, Gitea, and Gist.
* Version: 11.1.3
* Version: 11.1.4
* Author: Andy Fragen
* License: MIT
* Domain Path: /languages
Expand Down Expand Up @@ -50,7 +50,6 @@
register_activation_hook( __FILE__, [ new Bootstrap( __FILE__ ), 'rename_on_activation' ] );

( new Zipfile_API() )->load_hooks();
( new GU_Appsero( __FILE__ ) )->init();

add_action(
'plugins_loaded',
Expand Down
1 change: 1 addition & 0 deletions src/Git_Updater/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public function run() {

register_deactivation_hook( $this->file, [ $this, 'remove_cron_events' ] );

( new GU_Appsero( __FILE__ ) )->init();
( new Init() )->run();

// Initialize time dissmissible admin notices.
Expand Down

0 comments on commit 8e2d174

Please sign in to comment.