I Recommend This - Version 2.1.2

Version Description

Download this release

Release Info

Developer hchouhan
Plugin Icon 128x128 I Recommend This
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1 to 2.1.2

Files changed (2) hide show
  1. dot-irecommendthis.php +5 -4
  2. readme.txt +6 -4
dot-irecommendthis.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: I Recommend This
4
  * Plugin URI: http://www.harishchouhan.com/personal-projects/i-recommend-this/
5
  * Description: This plugin allows your visitors to simply recommend or like your posts instead of commment it.
6
- * Version: 2.1
7
  * Author: Harish Chouhan
8
  * Author URI: http://www.harishchouhan.com
9
  * Author Email: me@harishchouhan.com
@@ -41,7 +41,7 @@ if ( ! class_exists( 'DOT_IRecommendThis' ) )
41
 
42
  class DOT_IRecommendThis {
43
 
44
- public $version = '2.0';
45
 
46
  /*--------------------------------------------*
47
  * Constructor
@@ -280,14 +280,15 @@ if ( ! class_exists( 'DOT_IRecommendThis' ) )
280
  if( !isset($options['disable_css']) ) $options['disable_css'] = '0';
281
  if( !isset($options['recommend_style']) ) $options['recommend_style'] = '0';
282
 
283
-
 
284
  if ($options['recommend_style'] == '0') {
285
  wp_enqueue_style( 'dot-irecommendthis', plugins_url( '/css/dot-irecommendthis.css', __FILE__ ) );
286
  }
287
  else {
288
  wp_enqueue_style( 'dot-irecommendthis', plugins_url( '/css/dot-irecommendthis-heart.css', __FILE__ ) );
289
  }
290
-
291
 
292
  wp_enqueue_script( 'dot-irecommendthis', plugins_url( '/js/dot_irecommendthis.js', __FILE__ ), array('jquery') );
293
  wp_enqueue_script( 'jquery' );
3
  * Plugin Name: I Recommend This
4
  * Plugin URI: http://www.harishchouhan.com/personal-projects/i-recommend-this/
5
  * Description: This plugin allows your visitors to simply recommend or like your posts instead of commment it.
6
+ * Version: 2.1.2
7
  * Author: Harish Chouhan
8
  * Author URI: http://www.harishchouhan.com
9
  * Author Email: me@harishchouhan.com
41
 
42
  class DOT_IRecommendThis {
43
 
44
+ public $version = '2.1.2';
45
 
46
  /*--------------------------------------------*
47
  * Constructor
280
  if( !isset($options['disable_css']) ) $options['disable_css'] = '0';
281
  if( !isset($options['recommend_style']) ) $options['recommend_style'] = '0';
282
 
283
+ if ($options['disable_css'] == '0') {
284
+
285
  if ($options['recommend_style'] == '0') {
286
  wp_enqueue_style( 'dot-irecommendthis', plugins_url( '/css/dot-irecommendthis.css', __FILE__ ) );
287
  }
288
  else {
289
  wp_enqueue_style( 'dot-irecommendthis', plugins_url( '/css/dot-irecommendthis-heart.css', __FILE__ ) );
290
  }
291
+ }
292
 
293
  wp_enqueue_script( 'dot-irecommendthis', plugins_url( '/js/dot_irecommendthis.js', __FILE__ ), array('jquery') );
294
  wp_enqueue_script( 'jquery' );
readme.txt CHANGED
@@ -2,10 +2,10 @@
2
  Contributors: hchouhan, dreamsonline, dreamsmedia, Benoit "LeBen" Burgener
3
  Donate link: http://www.designerskiosk.com
4
  Tags: recommend, like, love, post, rate, rating, heart, dribbble like, tumblr like
5
- Requires at least: 3.4
6
- Tested up to: 3.4
7
- Stable tag: 2.1
8
- Last Updated: 2012-December-11
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -64,6 +64,8 @@ You can also visit the [support center](http://www.harishchouhan.com/personal-pr
64
 
65
  == Changelog ==
66
 
 
 
67
 
68
  = 2.1
69
  * Fixed Naming Errors. Thanks to Marian Hillmar.
2
  Contributors: hchouhan, dreamsonline, dreamsmedia, Benoit "LeBen" Burgener
3
  Donate link: http://www.designerskiosk.com
4
  Tags: recommend, like, love, post, rate, rating, heart, dribbble like, tumblr like
5
+ Requires at least: 3.3
6
+ Tested up to: 3.5
7
+ Stable tag: 2.1.2
8
+ Last Updated: 2012-December-20
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
64
 
65
  == Changelog ==
66
 
67
+ = 2.1.2
68
+ * Fixed CSS Disable issue. Thanks to Nicolas Mollet.
69
 
70
  = 2.1
71
  * Fixed Naming Errors. Thanks to Marian Hillmar.