Features by WooThemes - Version 1.4.2

Version Description

  • 2014-02-03
  • Fix - Link title options in the widget.
Download this release

Release Info

Developer jameskoster
Plugin Icon wp plugin Features by WooThemes
Version 1.4.2
Comparing to
See all releases

Code changes from version 1.4.1 to 1.4.2

classes/class-woothemes-widget-features.php CHANGED
@@ -114,13 +114,14 @@ class Woothemes_Widget_Features extends WP_Widget {
114
  }
115
 
116
  // Boolean values.
117
- if ( isset( $instance['link_title'] ) && ( 1 == $instance['link_title'] ) ) {
118
- $args['link_title'] = true; } else { $args['link_title'] = false;
119
- }
120
-
121
- if ( isset( $instance['custom_links_only'] ) && ( 1 == $instance['custom_links_only'] ) ) {
122
  $args['custom_links_only'] = true;
123
- } else {
 
124
  $args['custom_links_only'] = false;
125
  }
126
 
114
  }
115
 
116
  // Boolean values.
117
+ if ( isset( $instance['link_title'] ) && $instance['link_title'] == true && $instance['custom_links_only'] == false ) {
118
+ $args['link_title'] = true;
119
+ $args['custom_links_only'] = false;
120
+ } elseif ( isset( $instance['link_title'] ) && $instance['link_title'] == true && isset( $instance['custom_links_only'] ) && $instance['custom_links_only'] == true ) {
121
+ $args['link_title'] = true;
122
  $args['custom_links_only'] = true;
123
+ } elseif ( isset( $instance['link_title'] ) && $instance['link_title'] == false && isset( $instance['custom_links_only'] ) && $instance['custom_links_only'] == false ) {
124
+ $args['link_title'] = false;
125
  $args['custom_links_only'] = false;
126
  }
127
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://woothemes.com/
4
  Tags: features, widget, shortcode, template-tag, services
5
  Requires at least: 3.4.2
6
  Tested up to: 3.8.0
7
- Stable tag: 1.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -142,6 +142,10 @@ You sure can, just use the following snippet:
142
 
143
  == Changelog ==
144
 
 
 
 
 
145
  = 1.4.1 =
146
  * 2014-01-30
147
  * New - Filter to set feature links to open in a new window.
4
  Tags: features, widget, shortcode, template-tag, services
5
  Requires at least: 3.4.2
6
  Tested up to: 3.8.0
7
+ Stable tag: 1.4.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
142
 
143
  == Changelog ==
144
 
145
+ = 1.4.2 =
146
+ * 2014-02-03
147
+ * Fix - Link title options in the widget.
148
+
149
  = 1.4.1 =
150
  * 2014-01-30
151
  * New - Filter to set feature links to open in a new window.
woothemes-features.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://woothemes.com/
5
  * Description: Hi, I'm your feature showcase plugin for WordPress. Show off what features your company, product or service offers, using our shortcode, widget or template tag.
6
  * Author: WooThemes
7
- * Version: 1.4.1
8
  * Author URI: http://woothemes.com/
9
  *
10
  * @package WordPress
@@ -19,4 +19,4 @@ require_once( 'woothemes-features-template.php' );
19
  require_once( 'classes/class-woothemes-widget-features.php' );
20
  global $woothemes_features;
21
  $woothemes_features = new Woothemes_Features( __FILE__ );
22
- $woothemes_features->version = '1.4.1';
4
  * Plugin URI: http://woothemes.com/
5
  * Description: Hi, I'm your feature showcase plugin for WordPress. Show off what features your company, product or service offers, using our shortcode, widget or template tag.
6
  * Author: WooThemes
7
+ * Version: 1.4.2
8
  * Author URI: http://woothemes.com/
9
  *
10
  * @package WordPress
19
  require_once( 'classes/class-woothemes-widget-features.php' );
20
  global $woothemes_features;
21
  $woothemes_features = new Woothemes_Features( __FILE__ );
22
+ $woothemes_features->version = '1.4.2';