Skip to content

Commit

Permalink
fix constant for WPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
afragen committed May 24, 2021
1 parent e3cb27f commit 458fbca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
@@ -1,6 +1,6 @@
#### [unreleased]
* cache GitHub API response failures to avoid hammering the API
* add constant `GU_MU_Loader` to aid in mu-plugin loading of Git Updater PRO
* add constant `GU_MU_LOADER` to aid in mu-plugin loading of Git Updater PRO
* catch API errors when GitHub personal access token is set, fixes [#947](https://github.com/afragen/git-updater/issues/947)

#### 10.0.2 / 2021-05-18
Expand Down
2 changes: 1 addition & 1 deletion mu/gu-loader.php
Expand Up @@ -44,7 +44,7 @@ class MU_Loader {
* @return void
*/
public function run() {
define( 'GU_MU_Loader', true );
define( 'GU_MU_LOADER', true );
if ( ! class_exists( 'Bootstrap' ) ) {
require trailingslashit( WP_PLUGIN_DIR ) . self::$plugin_file;
}
Expand Down

0 comments on commit 458fbca

Please sign in to comment.