Blocksy Companion - Version 1.8.9.8

Version Description

Download this release

Release Info

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

Code changes from version 1.8.9.7 to 1.8.9.8

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.9.7
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.9.8
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
  Text Domain: blocksy-companion
framework/extensions/cookies-consent/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.7
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/newsletter-subscribe/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.7
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/product-reviews/static/bundle/main-admin.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.7
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/product-reviews/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.7
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/trending/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.7
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/widgets/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.7
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/features/account-auth.php CHANGED
@@ -33,6 +33,21 @@ class AccountAuth {
33
  $errors = [];
34
  $success = false;
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  if (class_exists('WC_Shortcode_My_Account')) {
37
  $success = \WC_Shortcode_My_Account::retrieve_password();
38
 
@@ -119,6 +134,7 @@ class AccountAuth {
119
  $user_login = '';
120
  $user_email = '';
121
  $user_pass = '';
 
122
 
123
  if (isset($_POST['user_login']) && is_string($_POST['user_login'])) {
124
  $user_login = wp_unslash($_POST['user_login']);
@@ -132,6 +148,19 @@ class AccountAuth {
132
  $user_pass = wp_unslash($_POST['user_pass']);
133
  }
134
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  if (function_exists('wc_create_new_customer')) {
136
  $validation_error = new \WP_Error();
137
  $validation_error = apply_filters(
33
  $errors = [];
34
  $success = false;
35
 
36
+ $nonce_value = '';
37
+
38
+ if (
39
+ isset($_POST['blocksy-lostpassword-nonce'])
40
+ &&
41
+ is_string($_POST['blocksy-lostpassword-nonce'])
42
+ ) {
43
+ $nonce_value = wp_unslash($_POST['blocksy-lostpassword-nonce']);
44
+ }
45
+
46
+ if (! wp_verify_nonce($nonce_value, 'blocksy-lostpassword')) {
47
+ wp_send_json_error([]);
48
+ exit;
49
+ }
50
+
51
  if (class_exists('WC_Shortcode_My_Account')) {
52
  $success = \WC_Shortcode_My_Account::retrieve_password();
53
 
134
  $user_login = '';
135
  $user_email = '';
136
  $user_pass = '';
137
+ $nonce_value = '';
138
 
139
  if (isset($_POST['user_login']) && is_string($_POST['user_login'])) {
140
  $user_login = wp_unslash($_POST['user_login']);
148
  $user_pass = wp_unslash($_POST['user_pass']);
149
  }
150
 
151
+ if (
152
+ isset($_POST['blocksy-register-nonce'])
153
+ &&
154
+ is_string($_POST['blocksy-register-nonce'])
155
+ ) {
156
+ $nonce_value = wp_unslash($_POST['blocksy-register-nonce']);
157
+ }
158
+
159
+ if (! wp_verify_nonce($nonce_value, 'blocksy-register')) {
160
+ wp_send_json_error([]);
161
+ exit;
162
+ }
163
+
164
  if (function_exists('wc_create_new_customer')) {
165
  $validation_error = new \WP_Error();
166
  $validation_error = apply_filters(
framework/features/header/items/account/view.php CHANGED
@@ -13,18 +13,18 @@ if (is_customize_preview()) {
13
  }
14
 
15
  $icon = apply_filters('blocksy:header:account:icons', [
16
- 'type-1' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M7.5,0C3.4,0,0,3.4,0,7.5c0,1.7,0.5,3.2,1.5,4.5c1.4,1.9,3.6,3,6,3s4.6-1.1,6-3c1-1.3,1.5-2.9,1.5-4.5C15,3.4,11.6,0,7.5,0zM7.5,13.5c-1.4,0-2.8-0.5-3.8-1.4c1.1-0.9,2.4-1.4,3.8-1.4s2.8,0.5,3.8,1.4C10.3,13,8.9,13.5,7.5,13.5z M12.3,11c-1.3-1.1-3-1.8-4.8-1.8S4,9.9,2.7,11c-0.8-1-1.2-2.2-1.2-3.5c0-3.3,2.7-6,6-6s6,2.7,6,6C13.5,8.8,13.1,10,12.3,11zM7.5,3C6.1,3,5,4.1,5,5.5S6.1,8,7.5,8S10,6.9,10,5.5S8.9,3,7.5,3zM7.5,6.5c-0.5,0-1-0.5-1-1s0.5-1,1-1s1,0.5,1,1S8,6.5,7.5,6.5z"/></svg>',
17
 
18
- 'type-2' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M13,7V6.1h0V3.9c0-1.4-1.1-2.6-2.6-2.6H9.7c0,0-0.6-1.3-3.2-1.3C4.1,0,1.9,2,2,4.5V7C1.4,7.4,1,8.1,1,8.8c0,0.9,0.6,1.8,1.4,2.1c0.8,2.1,2.7,3.7,4.9,4l0.1,0l0.1,0c2.3-0.4,4.1-1.9,5-4c0.8-0.3,1.4-1.2,1.4-2.1C14,8.1,13.6,7.4,13,7zM11.9,9.6l-0.5,0.1l-0.1,0.4c-0.5,1.7-2,3-3.8,3.3c-1.8-0.3-3.2-1.6-3.8-3.4L3.6,9.6L3.1,9.6C2.8,9.5,2.5,9.2,2.5,8.8c0-0.3,0.2-0.6,0.5-0.7L3.5,8V6.5h2.2c1.1,0,2-0.5,2.4-1.3h1.6c0.8,0,1.6,0.5,1.8,1.3V8L12,8.2c0.3,0.1,0.5,0.4,0.5,0.7C12.5,9.3,12.2,9.6,11.9,9.6z"/></svg>',
19
 
20
- 'type-3' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M10.5,9h-6c-2.1,0-3.8,1.7-3.8,3.8v1.5c0,0.4,0.3,0.8,0.8,0.8s0.8-0.3,0.8-0.8v-1.5c0-1.2,1-2.2,2.2-2.2h6c1.2,0,2.2,1,2.2,2.2v1.5c0,0.4,0.3,0.8,0.8,0.8s0.8-0.3,0.8-0.8v-1.5C14.2,10.7,12.6,9,10.5,9zM7.5,7C9.4,7,11,5.4,11,3.5
21
  S9.4,0,7.5,0S4,1.6,4,3.5S5.6,7,7.5,7zM7.5,1.5c1.1,0,2,0.9,2,2s-0.9,2-2,2s-2-0.9-2-2S6.4,1.5,7.5,1.5z"/></svg>',
22
 
23
- 'type-4' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M7.5 0C3.4 0 0 3.4 0 7.5S3.4 15 7.5 15 15 11.6 15 7.5 11.6 0 7.5 0zm0 2.1c1.4 0 2.5 1.1 2.5 2.4S8.9 7 7.5 7 5 5.9 5 4.5s1.1-2.4 2.5-2.4zm0 11.4c-2.1 0-3.9-1-5-2.6C3.4 9.6 6 9 7.5 9s4.1.6 5 1.9c-1.1 1.6-2.9 2.6-5 2.6z"/></svg>',
24
 
25
- 'type-5' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M7.5,0C3.4,0,0,3.4,0,7.5S3.4,15,7.5,15S15,11.6,15,7.5S11.6,0,7.5,0z M11.6,11.9c-0.5-0.6-1.5-1-2.7-1.3c0,0-0.6-0.2-0.4-0.7c0.6-0.6,0.7-1.1,0.7-1.2c0,0,0.6-0.5,0.6-1.1C10,7,9.8,6.9,9.8,6.9c0.2-0.7,0.3-3.3-1.4-3C8.1,3.4,6.4,3,5.7,4.4C5.3,5.1,5.1,6.2,5.5,6.9c0,0-0.1-0.1-0.2,0.3c0,0.4,0.2,0.9,0.4,1.1c0.1,0.1,0.2,0.2,0.3,0.2c0,0,0.1,0.6,0.6,1.2c0.1,0.6-0.4,0.8-0.4,0.8c-1.2,0.2-2.3,0.7-2.7,1.4c-1.2-1.1-1.9-2.6-1.9-4.4c0-3.3,2.7-6,6-6s6,2.7,6,6C13.5,9.2,12.8,10.8,11.6,11.9z"/></svg>',
26
 
27
- 'type-6' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M14.2,5.2l-6.3-5C7.6-0.1,7.2-0.1,7,0.2l-6.2,5C0.6,5.3,0.5,5.5,0.5,5.7v7.5c0,1,0.8,1.8,1.8,1.8h10.5c1,0,1.8-0.8,1.8-1.8V5.7C14.5,5.5,14.4,5.3,14.2,5.2z M8.8,13.5H6.3V9h2.5V13.5zM13,13.2c0,0.1-0.1,0.2-0.2,0.2h-2.5V8.2c0-0.4-0.3-0.8-0.8-0.8h-4c-0.4,0-0.8,0.3-0.8,0.8v5.2H2.3c-0.1,0-0.2-0.1-0.2-0.2V6.1l5.4-4.4L13,6.1V13.2z"/></svg>',
28
  ]);
29
 
30
  $path = 'login';
13
  }
14
 
15
  $icon = apply_filters('blocksy:header:account:icons', [
16
+ 'type-1' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15"><title>'. __('Account header icon', 'blocksy-companion').'</title><path d="M7.5,0C3.4,0,0,3.4,0,7.5c0,1.7,0.5,3.2,1.5,4.5c1.4,1.9,3.6,3,6,3s4.6-1.1,6-3c1-1.3,1.5-2.9,1.5-4.5C15,3.4,11.6,0,7.5,0zM7.5,13.5c-1.4,0-2.8-0.5-3.8-1.4c1.1-0.9,2.4-1.4,3.8-1.4s2.8,0.5,3.8,1.4C10.3,13,8.9,13.5,7.5,13.5z M12.3,11c-1.3-1.1-3-1.8-4.8-1.8S4,9.9,2.7,11c-0.8-1-1.2-2.2-1.2-3.5c0-3.3,2.7-6,6-6s6,2.7,6,6C13.5,8.8,13.1,10,12.3,11zM7.5,3C6.1,3,5,4.1,5,5.5S6.1,8,7.5,8S10,6.9,10,5.5S8.9,3,7.5,3zM7.5,6.5c-0.5,0-1-0.5-1-1s0.5-1,1-1s1,0.5,1,1S8,6.5,7.5,6.5z"/></svg>',
17
 
18
+ 'type-2' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15"><title>'. __('Account header icon', 'blocksy-companion').'</title><path d="M13,7V6.1h0V3.9c0-1.4-1.1-2.6-2.6-2.6H9.7c0,0-0.6-1.3-3.2-1.3C4.1,0,1.9,2,2,4.5V7C1.4,7.4,1,8.1,1,8.8c0,0.9,0.6,1.8,1.4,2.1c0.8,2.1,2.7,3.7,4.9,4l0.1,0l0.1,0c2.3-0.4,4.1-1.9,5-4c0.8-0.3,1.4-1.2,1.4-2.1C14,8.1,13.6,7.4,13,7zM11.9,9.6l-0.5,0.1l-0.1,0.4c-0.5,1.7-2,3-3.8,3.3c-1.8-0.3-3.2-1.6-3.8-3.4L3.6,9.6L3.1,9.6C2.8,9.5,2.5,9.2,2.5,8.8c0-0.3,0.2-0.6,0.5-0.7L3.5,8V6.5h2.2c1.1,0,2-0.5,2.4-1.3h1.6c0.8,0,1.6,0.5,1.8,1.3V8L12,8.2c0.3,0.1,0.5,0.4,0.5,0.7C12.5,9.3,12.2,9.6,11.9,9.6z"/></svg>',
19
 
20
+ 'type-3' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15"><title>'. __('Account header icon', 'blocksy-companion').'</title><path d="M10.5,9h-6c-2.1,0-3.8,1.7-3.8,3.8v1.5c0,0.4,0.3,0.8,0.8,0.8s0.8-0.3,0.8-0.8v-1.5c0-1.2,1-2.2,2.2-2.2h6c1.2,0,2.2,1,2.2,2.2v1.5c0,0.4,0.3,0.8,0.8,0.8s0.8-0.3,0.8-0.8v-1.5C14.2,10.7,12.6,9,10.5,9zM7.5,7C9.4,7,11,5.4,11,3.5
21
  S9.4,0,7.5,0S4,1.6,4,3.5S5.6,7,7.5,7zM7.5,1.5c1.1,0,2,0.9,2,2s-0.9,2-2,2s-2-0.9-2-2S6.4,1.5,7.5,1.5z"/></svg>',
22
 
23
+ 'type-4' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15"><title>'. __('Account header icon', 'blocksy-companion').'</title><path d="M7.5 0C3.4 0 0 3.4 0 7.5S3.4 15 7.5 15 15 11.6 15 7.5 11.6 0 7.5 0zm0 2.1c1.4 0 2.5 1.1 2.5 2.4S8.9 7 7.5 7 5 5.9 5 4.5s1.1-2.4 2.5-2.4zm0 11.4c-2.1 0-3.9-1-5-2.6C3.4 9.6 6 9 7.5 9s4.1.6 5 1.9c-1.1 1.6-2.9 2.6-5 2.6z"/></svg>',
24
 
25
+ 'type-5' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15"><title>'. __('Account header icon', 'blocksy-companion').'</title><path d="M7.5,0C3.4,0,0,3.4,0,7.5S3.4,15,7.5,15S15,11.6,15,7.5S11.6,0,7.5,0z M11.6,11.9c-0.5-0.6-1.5-1-2.7-1.3c0,0-0.6-0.2-0.4-0.7c0.6-0.6,0.7-1.1,0.7-1.2c0,0,0.6-0.5,0.6-1.1C10,7,9.8,6.9,9.8,6.9c0.2-0.7,0.3-3.3-1.4-3C8.1,3.4,6.4,3,5.7,4.4C5.3,5.1,5.1,6.2,5.5,6.9c0,0-0.1-0.1-0.2,0.3c0,0.4,0.2,0.9,0.4,1.1c0.1,0.1,0.2,0.2,0.3,0.2c0,0,0.1,0.6,0.6,1.2c0.1,0.6-0.4,0.8-0.4,0.8c-1.2,0.2-2.3,0.7-2.7,1.4c-1.2-1.1-1.9-2.6-1.9-4.4c0-3.3,2.7-6,6-6s6,2.7,6,6C13.5,9.2,12.8,10.8,11.6,11.9z"/></svg>',
26
 
27
+ 'type-6' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15"><title>'. __('Account header icon', 'blocksy-companion').'</title><path d="M14.2,5.2l-6.3-5C7.6-0.1,7.2-0.1,7,0.2l-6.2,5C0.6,5.3,0.5,5.5,0.5,5.7v7.5c0,1,0.8,1.8,1.8,1.8h10.5c1,0,1.8-0.8,1.8-1.8V5.7C14.5,5.5,14.4,5.3,14.2,5.2z M8.8,13.5H6.3V9h2.5V13.5zM13,13.2c0,0.1-0.1,0.2-0.2,0.2h-2.5V8.2c0-0.4-0.3-0.8-0.8-0.8h-4c-0.4,0-0.8,0.3-0.8,0.8v5.2H2.3c-0.1,0-0.2-0.1-0.2-0.2V6.1l5.4-4.4L13,6.1V13.2z"/></svg>',
28
  ]);
29
 
30
  $path = 'login';
framework/features/header/modal/lostpassword.php CHANGED
@@ -17,5 +17,6 @@
17
  </p>
18
 
19
  <?php do_action('blocksy:account:modal:lostpassword:end'); ?>
 
20
  </form>
21
 
17
  </p>
18
 
19
  <?php do_action('blocksy:account:modal:lostpassword:end'); ?>
20
+ <?php wp_nonce_field('blocksy-lostpassword', 'blocksy-lostpassword-nonce'); ?>
21
  </form>
22
 
framework/features/header/modal/register.php CHANGED
@@ -84,6 +84,9 @@ do_action( 'blocksy:account:modal:register:end' );
84
  ?>
85
  <?php
86
  do_action( 'woocommerce_register_form_end' );
 
 
 
87
  ?>
88
  </form>
89
 
84
  ?>
85
  <?php
86
  do_action( 'woocommerce_register_form_end' );
87
+ ?>
88
+ <?php
89
+ wp_nonce_field( 'blocksy-register', 'blocksy-register-nonce' );
90
  ?>
91
  </form>
92
 
freemius/includes/class-freemius.php CHANGED
@@ -15192,6 +15192,7 @@
15192
  'mature' => 0,
15193
  'spam' => 0,
15194
  'deleted' => 0,
 
15195
  );
15196
 
15197
  if ( function_exists( 'get_sites' ) ) {
15192
  'mature' => 0,
15193
  'spam' => 0,
15194
  'deleted' => 0,
15195
+ 'number' => 100000
15196
  );
15197
 
15198
  if ( function_exists( 'get_sites' ) ) {
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires PHP: 7.0
5
  Tested up to: 5.8
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
- Stable tag: 1.8.9.7
9
 
10
  == Description ==
11
 
@@ -23,6 +23,10 @@ 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.9.7: 2021-11-16
27
  - Improvement: Better calculation for logo shrink in sticky header
28
 
5
  Tested up to: 5.8
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
+ Stable tag: 1.8.9.8
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.9.8: 2021-11-18
27
+ - Improvement: Account modal add nonce check for login, lostpassword and register forms
28
+ - Improvement: A11Y - title markup for header SVG icons
29
+
30
  1.8.9.7: 2021-11-16
31
  - Improvement: Better calculation for logo shrink in sticky header
32
 
static/bundle/dashboard.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.7
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
static/bundle/options.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.7
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+