From 1b7a4fb0da8210a98af7bc7ac0c43910d5f7b54c Mon Sep 17 00:00:00 2001 From: Adriano Monecchi Date: Sun, 17 Dec 2017 05:32:04 -0200 Subject: [PATCH] Fixes - Github Updater Class More fixes for Github Updater Class --- git-updater.php | 2 +- index.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/git-updater.php b/git-updater.php index 567790d..0872ebe 100644 --- a/git-updater.php +++ b/git-updater.php @@ -129,7 +129,7 @@ public function plugin_popup( $result, $action, $args ) { 'rating' => '100.0', 'num_ratings' => '10823', 'downloaded' => '14249', - 'added' => $date_added, //'2017-12-15', + 'added' => '2017-12-15', // $date_added, 'version' => $this->github_response['tag_name'], 'author' => $this->plugin["AuthorName"], 'author_profile' => $this->plugin["AuthorURI"], diff --git a/index.php b/index.php index 58c835e..54166ab 100755 --- a/index.php +++ b/index.php @@ -91,9 +91,8 @@ function ebor_ajax_import_data() { include_once( plugin_dir_path( __FILE__ ) . 'git-updater.php' ); } -$updater_provider = 'bW9uZWNjaGk='; // github username $updater = new Github_Updater( __FILE__ ); -$updater->set_username( base64_decode( $updater_provider ) ); +$updater->set_username( 'monecchi' ); $updater->set_repository( 'FoodStack-Framework' ); /* Access Token for private repo */