We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90f3c2b commit 732d244Copy full SHA for 732d244
1 file changed
integrate-convertkit-wpforms.php
@@ -33,7 +33,7 @@
33
define( 'INTEGRATE_CONVERTKIT_WPFORMS_OAUTH_REDIRECT_URI', 'https://app.kit.com/wordpress/redirect' );
34
35
// Load shared classes, if they have not been included by another ConvertKit Plugin.
36
-if ( ! trait_exists( 'ConvertKit_API\ConvertKit_API_Traits' ) ) {
+if ( ! trait_exists( 'ConvertKit_API_Traits' ) && ! trait_exists( 'ConvertKit_API\ConvertKit_API_Traits' ) ) {
37
require_once INTEGRATE_CONVERTKIT_WPFORMS_PATH . '/vendor/convertkit/convertkit-wordpress-libraries/src/class-convertkit-api-traits.php';
38
}
39
if ( ! class_exists( 'ConvertKit_API_V4' ) ) {
0 commit comments