We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6511397 commit 07f33e0Copy full SHA for 07f33e0
gistpress.php
@@ -27,13 +27,13 @@
27
if ( ! class_exists( 'GistPress' ) ) {
28
require( plugin_dir_path( __FILE__ ) . 'includes/class-gistpress.php' );
29
}
30
-$gistpress = new GistPress;
+$GLOBALS['gistpress'] = new GistPress;
31
32
// Instantiate logging class.
33
if ( ! class_exists( 'GistPress_Log' ) ) {
34
require( plugin_dir_path( __FILE__ ) . 'includes/class-gistpress-log.php' );
35
36
-$gistpress_logger = new GistPress_Log;
+$GLOBALS['gistpress_logger'] = new GistPress_Log;
37
38
/**
39
* Support localization for plugin.
0 commit comments