Skip to content

Commit fce17b2

Browse files
authored
Merge pull request #113 from wp-cli/prefix-global-variables
Prefix variables in global namespace
2 parents 32d88ef + abaf2c5 commit fce17b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

search-replace-command.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
return;
55
}
66

7-
$autoload = dirname( __FILE__ ) . '/vendor/autoload.php';
8-
if ( file_exists( $autoload ) ) {
9-
require_once $autoload;
7+
$wpcli_search_replace_autoloader = dirname( __FILE__ ) . '/vendor/autoload.php';
8+
if ( file_exists( $wpcli_search_replace_autoloader ) ) {
9+
require_once $wpcli_search_replace_autoloader;
1010
}
1111

1212
WP_CLI::add_command( 'search-replace', 'Search_Replace_Command' );

0 commit comments

Comments
 (0)