Skip to content

Commit

Permalink
fix max nesting level fatal
Browse files Browse the repository at this point in the history
fixes #656
  • Loading branch information
afragen committed Mar 8, 2018
1 parent 28e9215 commit 114833d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion github-updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Plugin Name: GitHub Updater
* Plugin URI: https://github.com/afragen/github-updater
* Description: A plugin to automatically update GitHub, Bitbucket, or GitLab hosted plugins, themes, and language packs. It also allows for remote installation of plugins or themes into WordPress.
* Version: 7.5.0.9
* Version: 7.5.0.10
* Author: Andy Fragen
* License: GNU General Public License v2
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion src/GitHub_Updater/API/GitLab_API.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected function set_default_credentials() {
if ( empty( static::$options['gitlab_access_token'] ) ||
( empty( static::$options['gitlab_enterprise_token'] ) && ! empty( $this->type->enterprise ) )
) {
Singleton::get_instance( 'Messages', $this )->create_error_message( 'gitlab' );
$this->gitlab_error_notices();
}
if ( $set_credentials ) {
add_site_option( 'github_updater', static::$options );
Expand Down

1 comment on commit 114833d

@afragen
Copy link
Owner Author

@afragen afragen commented on 114833d Mar 9, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Endless loops 🤣

Please sign in to comment.