Skip to content

Commit 4529f40

Browse files
Remove autoload inclusion in root plugin file
1 parent eba7ecb commit 4529f40

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

mailchimp.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@
3636

3737
use function Mailchimp\WordPress\Includes\Admin\{admin_notice_error, admin_notice_success};
3838

39-
// Define the path to the Composer autoload file
40-
$autoloadFile = __DIR__ . '/vendor/autoload.php';
41-
42-
// Check if the autoload file exists
43-
if ( ! file_exists( $autoloadFile ) ) {
44-
die( 'Composer autoload file not found. Run `composer install` to generate it.' );
45-
}
46-
47-
// Include the autoload file
48-
require_once $autoloadFile;
49-
5039
// Version constant for easy CSS refreshes
5140
define( 'MCSF_VER', '1.6.2' );
5241

0 commit comments

Comments
 (0)