Skip to content

Commit f45cc5f

Browse files
committed
Update autoloading
1 parent 2e6e5a4 commit f45cc5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

edd-sl-sdk.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
// Exit if accessed directly.
1818
defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore
1919

20-
// Include the autoloader.
21-
require_once __DIR__ . '/vendor/autoload.php';
22-
2320
if ( ! function_exists( 'edd_sl_sdk_register_1_0_0' ) && function_exists( 'add_action' ) ) { // WRCS: DEFINED_VERSION.
2421

22+
// Include the autoloader.
23+
require_once __DIR__ . '/vendor/autoload.php';
24+
2525
add_action( 'after_setup_theme', array( '\\EasyDigitalDownloads\\Updater\\Versions', 'initialize_latest_version' ), 1, 0 );
2626

2727
add_action( 'after_setup_theme', 'edd_sl_sdk_register_1_0_0', 0, 0 ); // WRCS: DEFINED_VERSION.

0 commit comments

Comments
 (0)