Blocksy Companion - Version 1.8.59

Version Description

Download this release

Release Info

Developer creativethemeshq
Plugin Icon wp plugin Blocksy Companion
Version 1.8.59
Comparing to
See all releases

Code changes from version 1.8.58 to 1.8.59

blocksy-companion.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Blocksy Companion
5
  Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
6
- Version: 1.8.58
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
  Text Domain: blocksy-companion
3
  /*
4
  Plugin Name: Blocksy Companion
5
  Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
6
+ Version: 1.8.59
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
  Text Domain: blocksy-companion
framework/dashboard.php CHANGED
@@ -50,26 +50,19 @@ class Dashboard {
50
  });
51
 
52
  if (function_exists('blc_fs')) {
 
 
53
  blc_fs()->add_filter(
54
- 'hide_plan_change',
55
- function ($res) {
56
- return true;
57
- }
58
  );
59
 
60
  blc_fs()->add_filter(
61
  'show_deactivation_feedback_form',
62
- function ($res) {
63
- return false;
64
- }
65
  );
66
 
67
- blc_fs()->add_filter(
68
- 'hide_freemius_powered_by',
69
- function ($res) {
70
- return true;
71
- }
72
- );
73
 
74
  blc_fs()->add_filter(
75
  'connect-message_on-premium',
50
  });
51
 
52
  if (function_exists('blc_fs')) {
53
+ blc_fs()->add_filter('hide_plan_change', '__return_true');
54
+
55
  blc_fs()->add_filter(
56
+ 'permission_diagnostic_default',
57
+ '__return_false'
 
 
58
  );
59
 
60
  blc_fs()->add_filter(
61
  'show_deactivation_feedback_form',
62
+ '__return_false'
 
 
63
  );
64
 
65
+ blc_fs()->add_filter('hide_freemius_powered_by', '__return_true');
 
 
 
 
 
66
 
67
  blc_fs()->add_filter(
68
  'connect-message_on-premium',
framework/extensions/cookies-consent/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.59
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/newsletter-subscribe/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.59
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/product-reviews/static/bundle/main-admin.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.59
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/product-reviews/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.59
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/trending/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.59
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/widgets/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.59
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/widgets/widgets/ct-contact-info/options.php CHANGED
@@ -366,7 +366,7 @@ $options = [
366
 
367
  'email' => [
368
  'label' => __( 'Email', 'blocksy-companion' ),
369
- 'clone' => true,
370
  'options' => [
371
  [
372
  'title' => [
366
 
367
  'email' => [
368
  'label' => __( 'Email', 'blocksy-companion' ),
369
+ 'clone' => 2,
370
  'options' => [
371
  [
372
  'title' => [
framework/features/header/modal/login.php CHANGED
@@ -50,7 +50,11 @@ if (! $forgot_password_inline) {
50
 
51
  <?php
52
  if (function_exists('blc_fs') && blc_fs()->can_use_premium_code()) {
53
- if (class_exists('NextendSocialLogin')) {
 
 
 
 
54
  \NextendSocialLogin::addLoginFormButtons();
55
  }
56
  }
50
 
51
  <?php
52
  if (function_exists('blc_fs') && blc_fs()->can_use_premium_code()) {
53
+ if (
54
+ class_exists('NextendSocialLogin', false)
55
+ &&
56
+ ! class_exists('NextendSocialLoginPRO', false)
57
+ ) {
58
  \NextendSocialLogin::addLoginFormButtons();
59
  }
60
  }
framework/features/header/modal/register.php CHANGED
@@ -55,7 +55,11 @@ if (
55
 
56
  <?php
57
  if (function_exists('blc_fs') && blc_fs()->can_use_premium_code()) {
58
- if (class_exists('NextendSocialLogin')) {
 
 
 
 
59
  \NextendSocialLogin::addRegisterFormButtons();
60
  }
61
  }
55
 
56
  <?php
57
  if (function_exists('blc_fs') && blc_fs()->can_use_premium_code()) {
58
+ if (
59
+ class_exists('NextendSocialLogin')
60
+ &&
61
+ ! class_exists('NextendSocialLoginPRO', false)
62
+ ) {
63
  \NextendSocialLogin::addRegisterFormButtons();
64
  }
65
  }
languages/blocksy-companion.pot CHANGED
@@ -34,12 +34,12 @@ msgid ""
34
  "version, the plugin is currently NOT RUNNING."
35
  msgstr ""
36
 
37
- #: framework/dashboard.php:279, framework/dashboard.php:280,
38
  #: framework/extensions/product-reviews/extension.php:619
39
  msgid "Blocksy"
40
  msgstr ""
41
 
42
- #: framework/dashboard.php:317
43
  msgid "You do not have sufficient permissions to access this page."
44
  msgstr ""
45
 
@@ -2087,7 +2087,7 @@ msgstr ""
2087
  msgid "Forgot Password?"
2088
  msgstr ""
2089
 
2090
- #: framework/features/header/modal/login.php:65
2091
  msgid "Log In"
2092
  msgstr ""
2093
 
@@ -2112,11 +2112,11 @@ msgstr ""
2112
  msgid "A link to set a new password will be sent to your email address."
2113
  msgstr ""
2114
 
2115
- #: framework/features/header/modal/register.php:76
2116
  msgid "Registration confirmation will be emailed to you."
2117
  msgstr ""
2118
 
2119
- #: framework/features/header/modal/register.php:82
2120
  msgid "Register"
2121
  msgstr ""
2122
 
34
  "version, the plugin is currently NOT RUNNING."
35
  msgstr ""
36
 
37
+ #: framework/dashboard.php:272, framework/dashboard.php:273,
38
  #: framework/extensions/product-reviews/extension.php:619
39
  msgid "Blocksy"
40
  msgstr ""
41
 
42
+ #: framework/dashboard.php:310
43
  msgid "You do not have sufficient permissions to access this page."
44
  msgstr ""
45
 
2087
  msgid "Forgot Password?"
2088
  msgstr ""
2089
 
2090
+ #: framework/features/header/modal/login.php:69
2091
  msgid "Log In"
2092
  msgstr ""
2093
 
2112
  msgid "A link to set a new password will be sent to your email address."
2113
  msgstr ""
2114
 
2115
+ #: framework/features/header/modal/register.php:80
2116
  msgid "Registration confirmation will be emailed to you."
2117
  msgstr ""
2118
 
2119
+ #: framework/features/header/modal/register.php:86
2120
  msgid "Register"
2121
  msgstr ""
2122
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires PHP: 7.0
5
  Tested up to: 6.1
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
- Stable tag: 1.8.58
9
 
10
  == Description ==
11
 
@@ -23,6 +23,9 @@ It runs and adds its enhancements only if the Blocksy theme is installed and act
23
  2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
24
 
25
  == Changelog ==
 
 
 
26
  1.8.58: 2022-11-17
27
  - Improvement: Correct redirect to dashboard on plugin activation
28
  - Fix: Trending posts taxonomy relationship
5
  Tested up to: 6.1
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
+ Stable tag: 1.8.59
9
 
10
  == Description ==
11
 
23
  2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
24
 
25
  == Changelog ==
26
+ 1.8.59: 2022-11-24
27
+ - Improvement: Better handle the integration with Nextend Social plugin and account modal
28
+
29
  1.8.58: 2022-11-17
30
  - Improvement: Correct redirect to dashboard on plugin activation
31
  - Fix: Trending posts taxonomy relationship
static/bundle/account-lazy.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.59
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
static/bundle/dashboard.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.59
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
static/bundle/options.min.css CHANGED
@@ -1,8 +1,8 @@
1
  /**
2
- * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
6
  */
7
 
8
- .ct-condition-location{display:grid;grid-template-columns:1fr 100px;grid-column-gap:10px;padding-bottom:20px;border-bottom:1px dashed rgba(0,0,0,.1);--x-select-dropdown-width: calc(100% + 110px)}.ct-new-condition-location{--options-vertical-spacing: 20px;padding:var(--options-horizontal-spacing, 0 14px)}.ct-new-condition-location .ct-new-location{--options-horizontal-spacing: 0}.ct-new-condition-location .ct-new-location .ct-control{padding-bottom:20px;border-bottom:1px dashed rgba(0,0,0,.1)}.ct-new-condition-location .ct-new-location button{right:-24px;width:24px}.ct-new-condition-location .button{width:100%;margin-top:20px}.ct-control[data-location]{--options-vertical-spacing: 20px}.ct-control[data-location][data-design=inline] input{text-align:center;--input-width: 100px}.ct-control[data-location]:after{border-bottom-style:dashed}.ct-display-conditions{padding:30px 0;margin:10px 0 0 0;border-top:1px dashed rgba(0,0,0,.1)}.ct-condition-group{display:grid;grid-template-columns:var(--grid-template-columns);grid-column-gap:10px;grid-row-gap:10px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px dashed rgba(0,0,0,.1)}.ct-condition-group.ct-cols-2{--grid-template-columns: 110px 1fr}.ct-condition-group.ct-cols-2 .ct-select-input:nth-child(2):before{content:"ref-width"}.ct-condition-group.ct-cols-3{--grid-template-columns: 110px 1fr 1fr}.ct-condition-group.ct-cols-3 .ct-select-input:nth-child(2):before{content:"ref-width:right"}.ct-condition-group.ct-cols-3 .ct-select-input:nth-child(3):before{content:"ref-width:left"}.ct-condition-group .ct-select-dropdown{box-shadow:0 10px 15px rgba(0,0,0,.08),0px 0px 0px 1px rgba(221,221,221,.5)}.ct-condition-type span{position:absolute;top:6px;left:6px;display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:3px;background:#eee}.ct-condition-type span:before,.ct-condition-type span:after{position:absolute;content:"";width:6px;height:1px;background:currentColor}.ct-condition-type .ct-include:after{transform:rotate(90deg)}.ct-condition-type .ct-exclude:after{display:none}.ct-condition-type input{--padding: 0 0 0 30px}.ct-new-location,.ct-condition-group{position:relative}.ct-new-location button,.ct-condition-group button{position:absolute;top:0;right:-30px;font-size:18px;line-height:18px;width:30px;height:30px;padding:0;border:none;cursor:pointer;-webkit-appearance:none;appearance:none;opacity:.5;background:rgba(0,0,0,0)}.ct-new-location button:focus,.ct-condition-group button:focus{outline:none}.ct-new-location button:hover,.ct-condition-group button:hover{opacity:1;color:#a00}.ct-conditions-actions{display:grid;grid-template-columns:repeat(2, 1fr);grid-column-gap:15px}.blocksy-code-editor-trigger{display:inline-flex;align-items:center;margin:0 8px}.ct-import-export input[type=file]{display:none}.ct-import-export .button{width:100%}.ct-import-export .button:not(:last-child){margin-bottom:20px}.ct-option-position{display:grid;grid-template-columns:repeat(3, 1fr);grid-column-gap:7px;grid-row-gap:7px;margin:0}.ct-option-position li{height:40px;margin:0;cursor:pointer;border:1px solid var(--optionBorderColor);transition:border-color .1s ease,background .1s ease}.ct-option-position li.active{background:var(--accentColor);border-color:var(--accentColor)}.ct-option-position li:hover{border-color:var(--accentColor)}.ct-option-position li:nth-child(1){border-top-left-radius:4px}.ct-option-position li:nth-child(3){border-top-right-radius:4px}.ct-option-position li:nth-child(7){border-bottom-left-radius:4px}.ct-option-position li:nth-child(9){border-bottom-right-radius:4px}.toplevel_page_ct-dashboard .wp-menu-image img{max-width:18px;height:auto}.toplevel_page_ct-dashboard a[href*=ct-dashboard-pricing]{display:none !important}[data-slug=blocksy-companion] .upgrade{display:none}.fs-field-beta_program{display:none}#fs_account tr.fs-field-plan form.button-group .fs-change-plan{display:none}#fs_account tr.fs-field-plan form.button-group input.button{border-radius:3px}
1
  /**
2
+ * - v1.8.59
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
6
  */
7
 
8
+ .ct-condition-location{display:grid;grid-template-columns:1fr 100px;grid-column-gap:10px;padding-bottom:20px;border-bottom:1px dashed rgba(0,0,0,.1);--x-select-dropdown-width: calc(100% + 110px)}.ct-new-condition-location{--options-vertical-spacing: 20px;padding:var(--options-horizontal-spacing, 0 14px)}.ct-new-condition-location .ct-new-location{--options-horizontal-spacing: 0}.ct-new-condition-location .ct-new-location .ct-control{padding-bottom:20px;border-bottom:1px dashed rgba(0,0,0,.1)}.ct-new-condition-location .ct-new-location button{right:-24px;width:24px}.ct-new-condition-location .button{width:100%;margin-top:20px}.ct-control[data-location]{--options-vertical-spacing: 20px}.ct-control[data-location][data-design=inline] input{text-align:center;--input-width: 100px}.ct-control[data-location]:after{border-bottom-style:dashed}.ct-display-conditions{padding:30px 0;margin:10px 0 0 0;border-top:1px dashed rgba(0,0,0,.1)}.ct-condition-group{display:grid;grid-template-columns:var(--grid-template-columns);grid-column-gap:10px;grid-row-gap:10px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px dashed rgba(0,0,0,.1)}.ct-condition-group.ct-cols-2{--grid-template-columns: 110px 1fr}.ct-condition-group.ct-cols-2 .ct-select-input:nth-child(2):before{content:"ref-width"}.ct-condition-group.ct-cols-3{--grid-template-columns: 110px 1fr 1fr}.ct-condition-group.ct-cols-3 .ct-select-input:nth-child(2):before{content:"ref-width:right"}.ct-condition-group.ct-cols-3 .ct-select-input:nth-child(3):before{content:"ref-width:left"}.ct-condition-group .ct-select-dropdown{box-shadow:0 10px 15px rgba(0,0,0,.08),0px 0px 0px 1px rgba(221,221,221,.5)}.ct-condition-type span{position:absolute;top:6px;left:6px;display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:3px;background:#eee}.ct-condition-type span:before,.ct-condition-type span:after{position:absolute;content:"";width:6px;height:1px;background:currentColor}.ct-condition-type .ct-include:after{transform:rotate(90deg)}.ct-condition-type .ct-exclude:after{display:none}.ct-condition-type input{--padding: 0 0 0 30px}.ct-new-location,.ct-condition-group{position:relative}.ct-new-location button,.ct-condition-group button{position:absolute;top:0;right:-30px;font-size:18px;line-height:18px;width:30px;height:30px;padding:0;border:none;cursor:pointer;-webkit-appearance:none;appearance:none;opacity:.5;background:rgba(0,0,0,0)}.ct-new-location button:focus,.ct-condition-group button:focus{outline:none}.ct-new-location button:hover,.ct-condition-group button:hover{opacity:1;color:#a00}.ct-conditions-actions{display:grid;grid-template-columns:repeat(2, 1fr);grid-column-gap:15px}.blocksy-code-editor-trigger{display:inline-flex;align-items:center;margin:0 8px}.ct-import-export input[type=file]{display:none}.ct-import-export .button{width:100%}.ct-import-export .button:not(:last-child){margin-bottom:20px}.ct-option-position{display:grid;grid-template-columns:repeat(3, 1fr);grid-column-gap:7px;grid-row-gap:7px;margin:0}.ct-option-position li{height:40px;margin:0;cursor:pointer;border:1px solid var(--optionBorderColor);transition:border-color .1s ease,background .1s ease}.ct-option-position li.active{background:var(--accentColor);border-color:var(--accentColor)}.ct-option-position li:hover{border-color:var(--accentColor)}.ct-option-position li:nth-child(1){border-top-left-radius:4px}.ct-option-position li:nth-child(3){border-top-right-radius:4px}.ct-option-position li:nth-child(7){border-bottom-left-radius:4px}.ct-option-position li:nth-child(9){border-bottom-right-radius:4px}#adminmenu .toplevel_page_ct-dashboard .wp-menu-image img{max-width:18px;height:auto;padding:7px 0 0 0}#adminmenu .toplevel_page_ct-dashboard a[href*=ct-dashboard-pricing]{display:none !important}[data-slug=blocksy-companion] .upgrade{display:none}.fs-field-beta_program{display:none}#fs_account tr.fs-field-plan form.button-group .fs-change-plan{display:none}#fs_account tr.fs-field-plan form.button-group input.button{border-radius:3px}
static/sass/options.scss CHANGED
@@ -2,10 +2,11 @@
2
  @import 'options/import-export';
3
  @import 'options/position-option';
4
 
5
- .toplevel_page_ct-dashboard {
6
  .wp-menu-image img {
7
  max-width: 18px;
8
  height: auto;
 
9
  }
10
 
11
  a[href*='ct-dashboard-pricing'] {
2
  @import 'options/import-export';
3
  @import 'options/position-option';
4
 
5
+ #adminmenu .toplevel_page_ct-dashboard {
6
  .wp-menu-image img {
7
  max-width: 18px;
8
  height: auto;
9
+ padding: 7px 0 0 0;
10
  }
11
 
12
  a[href*='ct-dashboard-pricing'] {