Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions gistpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@

// Instantiate main plugin class.
if ( ! class_exists( 'GistPress' ) ) {
require( plugin_dir_path( __FILE__ ) . 'class-gistpress.php' );
require( plugin_dir_path( __FILE__ ) . 'includes/class-gistpress.php' );
}
$gistpress = new GistPress;

// Instantiate logging class.
if ( ! class_exists( 'GistPress_Log' ) ) {
require( plugin_dir_path( __FILE__ ) . 'class-gistpress-log.php' );
require( plugin_dir_path( __FILE__ ) . 'includes/class-gistpress-log.php' );
}
$gistpress_logger = new GistPress_Log;

Expand Down Expand Up @@ -79,7 +79,7 @@ function gistpress_add_debug_bar_panel( array $panels ) {

if ( ! is_admin() ) {
if ( ! class_exists( 'GistPress_Debug_Bar_Panel' ) ) {
require( plugin_dir_path( __FILE__ ) . 'class-gistpress-debug-bar-panel.php' );
require( plugin_dir_path( __FILE__ ) . 'includes/class-gistpress-debug-bar-panel.php' );
}

$panels[] = new GistPress_Debug_Bar_Panel( $gistpress_logger );
Expand Down
File renamed without changes.
File renamed without changes.