Skip to content

Commit

Permalink
Prefix variables in global namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Apr 17, 2019
1 parent 9bd1774 commit 97e2378
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scaffold-command.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
return;
}

$autoload = dirname( __FILE__ ) . '/vendor/autoload.php';
if ( file_exists( $autoload ) ) {
require_once $autoload;
$wpcli_scaffold_autoloader = dirname( __FILE__ ) . '/vendor/autoload.php';
if ( file_exists( $wpcli_scaffold_autoloader ) ) {
require_once $wpcli_scaffold_autoloader;
}

WP_CLI::add_command( 'scaffold', 'Scaffold_Command' );

0 comments on commit 97e2378

Please sign in to comment.