Skip to content

Commit

Permalink
Fixes - Github Updater Class
Browse files Browse the repository at this point in the history
More fixes for Github Updater Class
  • Loading branch information
monecchi committed Dec 17, 2017
1 parent 34c0167 commit 1b7a4fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion git-updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
3 changes: 1 addition & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1b7a4fb

Please sign in to comment.