BlossomThemes Toolkit - Version 2.1.5

Version Description

Released on: 18th November, 2019

Fixes:

  • Image Alignmnet issue in Featured Page Widget fixed
  • Minor bug fixes.
Download this release

Release Info

Developer blossomthemes
Plugin Icon 128x128 BlossomThemes Toolkit
Version 2.1.5
Comparing to
See all releases

Code changes from version 2.1.4 to 2.1.5

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: toolkit, blossom
5
  Requires at least: 4.4.0
6
  Tested up to: 5.3
7
  Requires PHP: 5.6
8
- Stable tag: 2.1.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -46,6 +46,15 @@ BlossomThemes Toolkit is a lightweight and safe plugin that generates 12 much-ne
46
 
47
  == Changelog ==
48
 
 
 
 
 
 
 
 
 
 
49
  = 2.1.4 =
50
 
51
  Released on: 15th November, 2019
5
  Requires at least: 4.4.0
6
  Tested up to: 5.3
7
  Requires PHP: 5.6
8
+ Stable tag: 2.1.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
46
 
47
  == Changelog ==
48
 
49
+ = 2.1.5 =
50
+
51
+ Released on: 18th November, 2019
52
+
53
+ Fixes:
54
+
55
+ * Image Alignmnet issue in Featured Page Widget fixed
56
+ * Minor bug fixes.
57
+
58
  = 2.1.4 =
59
 
60
  Released on: 15th November, 2019
blossomthemes-toolkit.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: BlossomThemes Toolkit
17
  * Plugin URI: https://wordpress.org/plugins/blossomthemes-toolkit/
18
  * Description: BlossomThemes Toolkit provides you necessary widgets for better and effective blogging.
19
- * Version: 2.1.4
20
  * Author: blossomthemes
21
  * Author URI: https://blossomthemes.com/
22
  * License: GPL-2.0+
@@ -30,7 +30,7 @@ if ( ! defined( 'WPINC' ) ) {
30
  die;
31
  }
32
 
33
- define( 'BTTK_PLUGIN_VERSION', '2.1.4' );
34
  define( 'BTTK_BASE_PATH', dirname( __FILE__ ) );
35
  define( 'BTTK_FILE_PATH', __FILE__ );
36
  define( 'BTTK_FILE_URL', rtrim( plugin_dir_url( __FILE__ ), '/' ) );
16
  * Plugin Name: BlossomThemes Toolkit
17
  * Plugin URI: https://wordpress.org/plugins/blossomthemes-toolkit/
18
  * Description: BlossomThemes Toolkit provides you necessary widgets for better and effective blogging.
19
+ * Version: 2.1.5
20
  * Author: blossomthemes
21
  * Author URI: https://blossomthemes.com/
22
  * License: GPL-2.0+
30
  die;
31
  }
32
 
33
+ define( 'BTTK_PLUGIN_VERSION', '2.1.5' );
34
  define( 'BTTK_BASE_PATH', dirname( __FILE__ ) );
35
  define( 'BTTK_FILE_PATH', __FILE__ );
36
  define( 'BTTK_FILE_URL', rtrim( plugin_dir_url( __FILE__ ), '/' ) );
includes/widgets/widget-featured-page.php CHANGED
@@ -135,7 +135,7 @@ class BlossomTheme_Featured_Page_Widget extends WP_Widget {
135
  $show_page_content = !empty( $instance['show_page_content'] ) ? $instance['show_page_content'] : '' ;
136
  $show_readmore = !empty( $instance['show_readmore'] ) ? $instance['show_readmore'] : '' ;
137
  $page_list = !empty( $instance['page_list'] ) ? $instance['page_list'] : 1 ;
138
- $image_alignment = !empty( $instance['image_alignment'] ) ? $instance['image_alignment'] : 1 ;
139
  ?>
140
 
141
  <p>
@@ -226,7 +226,7 @@ class BlossomTheme_Featured_Page_Widget extends WP_Widget {
226
  $instance['show_page_title'] = ! empty( $new_instance['show_page_title'] ) ? absint( $new_instance['show_page_title'] ) : '' ;
227
  $instance['show_page_content'] = ! empty( $new_instance['show_page_content'] ) ? absint( $new_instance['show_page_content'] ) : '' ;
228
  $instance['show_readmore'] = ! empty( $new_instance['show_readmore'] ) ? absint( $new_instance['show_readmore'] ) : '' ;
229
- $instance['image_alignment'] = ! empty( $new_instance['image_alignment'] ) ? absint( $new_instance['image_alignment'] ) : 1 ;
230
  $instance['readmore'] = ! empty( $new_instance['readmore'] ) ? sanitize_text_field( $new_instance['readmore'] ) : __( 'Read More', 'blossomthemes-toolkit' );
231
  $instance['page_list'] = ! empty( $new_instance['page_list'] ) ? absint( $new_instance['page_list'] ) : 1;
232
  $instance['show_feat_img'] = ! empty( $new_instance['show_feat_img'] ) ? absint( $new_instance['show_feat_img'] ) : '';
135
  $show_page_content = !empty( $instance['show_page_content'] ) ? $instance['show_page_content'] : '' ;
136
  $show_readmore = !empty( $instance['show_readmore'] ) ? $instance['show_readmore'] : '' ;
137
  $page_list = !empty( $instance['page_list'] ) ? $instance['page_list'] : 1 ;
138
+ $image_alignment = !empty( $instance['image_alignment'] ) ? $instance['image_alignment'] : 'right' ;
139
  ?>
140
 
141
  <p>
226
  $instance['show_page_title'] = ! empty( $new_instance['show_page_title'] ) ? absint( $new_instance['show_page_title'] ) : '' ;
227
  $instance['show_page_content'] = ! empty( $new_instance['show_page_content'] ) ? absint( $new_instance['show_page_content'] ) : '' ;
228
  $instance['show_readmore'] = ! empty( $new_instance['show_readmore'] ) ? absint( $new_instance['show_readmore'] ) : '' ;
229
+ $instance['image_alignment'] = ! empty( $new_instance['image_alignment'] ) ? sanitize_text_field( $new_instance['image_alignment'] ) : 'right' ;
230
  $instance['readmore'] = ! empty( $new_instance['readmore'] ) ? sanitize_text_field( $new_instance['readmore'] ) : __( 'Read More', 'blossomthemes-toolkit' );
231
  $instance['page_list'] = ! empty( $new_instance['page_list'] ) ? absint( $new_instance['page_list'] ) : 1;
232
  $instance['show_feat_img'] = ! empty( $new_instance['show_feat_img'] ) ? absint( $new_instance['show_feat_img'] ) : '';
languages/blossomthemes-toolkit.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: BlossomThemes Toolkit 2.1.4\n"
6
  "Report-Msgid-Bugs-To: \n"
7
- "POT-Creation-Date: 2019-11-15 08:26:08+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: BlossomThemes Toolkit 2.1.5\n"
6
  "Report-Msgid-Bugs-To: \n"
7
+ "POT-Creation-Date: 2019-11-18 11:33:13+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"