Skip to content

Commit 3fceedd

Browse files
committed
Move to src
1 parent 1149e8d commit 3fceedd

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

wp-php-console.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ public function __wakeup() {
119119
private function init_plugin() {
120120

121121
// autoload plugin and vendor files
122-
$loader = require_once( plugin_dir_path( __FILE__ ) . 'vendor/autoload.php' );
122+
$loader = require_once plugin_dir_path( __FILE__ ) . 'vendor/autoload.php';
123123

124124
// register plugin namespace with autoloader
125-
$loader->addPsr4( 'WP_PHP_Console\\', __DIR__ . '/includes' );
125+
$loader->addPsr4( 'WP_PHP_Console\\', __DIR__ . '/src' );
126126

127-
require_once plugin_dir_path( __FILE__ ) . 'includes/Functions.php';
127+
require_once plugin_dir_path( __FILE__ ) . 'src/Functions.php';
128128

129129
wp_php_console();
130130
}

0 commit comments

Comments
 (0)