File tree 1 file changed +2
-2
lines changed
visualcomposer/Modules/License
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,15 +205,15 @@ protected function activateWpComSubscription()
205
205
$ optionsHelper = vchelper ('Options ' );
206
206
207
207
$ activeSubscriptions = get_option ('wpcom_active_subscriptions ' , []);
208
- if (empty ($ activeSubscriptions )) {
208
+ if (empty ($ activeSubscriptions[ ' visualcomposer-wpcom ' ] )) {
209
209
return ;
210
210
}
211
211
$ activeSubscriptionsChecksum = md5 (wp_json_encode ($ activeSubscriptions ));
212
212
// if transient exists skip, so nothing changed in subscriptions
213
213
if ($ optionsHelper ->getTransient ('vcv:wp-com:activation:request: ' . $ activeSubscriptionsChecksum )) {
214
214
return ;
215
215
}
216
- $ blogId = null ;
216
+
217
217
if (class_exists ('Jetpack_Options ' )) {
218
218
$ blogId = \Jetpack_Options::get_option ('id ' );
219
219
} else {
You can’t perform that action at this time.
0 commit comments