Skip to content

Commit abaf2c5

Browse files
committed
Prefix variables in global namespace
1 parent 32d88ef commit abaf2c5

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)