I Recommend This - Version 1.4.1

Version Description

Download this release

Release Info

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

Code changes from version 1.4 to 1.4.1

Files changed (2) hide show
  1. i-recommend-this.php +4 -1
  2. readme.txt +5 -2
i-recommend-this.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: 1.4
7
  Author: Harish Chouhan
8
  Author URI: http://www.harishchouhan.com
9
 
@@ -414,6 +414,7 @@ function setOptionsIRT() {
414
  add_option('irt_onPage', '1', '', 'yes');
415
  add_option('irt_textOrNotext', 'notext', '', 'yes');
416
  add_option('irt_text', 'I recommend This', '', 'yes');
 
417
  }
418
 
419
  register_activation_hook(__FILE__, 'setOptionsIRT');
@@ -426,6 +427,7 @@ function unsetOptionsIRT() {
426
  delete_option('irt_onPage');
427
  delete_option('irt_textOrNotext');
428
  delete_option('irt_text');
 
429
  delete_option('most_recommended_posts');
430
  delete_option('irt_dbVersion');
431
  }
@@ -445,6 +447,7 @@ function IRecommendThisAdminRegisterSettings() { // whitelist options
445
  register_setting( 'irt_options', 'irt_onPage' );
446
  register_setting( 'irt_options', 'irt_textOrNotext' );
447
  register_setting( 'irt_options', 'irt_text' );
 
448
  }
449
  add_action('admin_init', 'IRecommendThisAdminRegisterSettings');
450
 
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: 1.4.1
7
  Author: Harish Chouhan
8
  Author URI: http://www.harishchouhan.com
9
 
414
  add_option('irt_onPage', '1', '', 'yes');
415
  add_option('irt_textOrNotext', 'notext', '', 'yes');
416
  add_option('irt_text', 'I recommend This', '', 'yes');
417
+ add_option('irt_textOnclick', 'recommends', '', 'yes');
418
  }
419
 
420
  register_activation_hook(__FILE__, 'setOptionsIRT');
427
  delete_option('irt_onPage');
428
  delete_option('irt_textOrNotext');
429
  delete_option('irt_text');
430
+ delete_option('irt_textOnclick');
431
  delete_option('most_recommended_posts');
432
  delete_option('irt_dbVersion');
433
  }
447
  register_setting( 'irt_options', 'irt_onPage' );
448
  register_setting( 'irt_options', 'irt_textOrNotext' );
449
  register_setting( 'irt_options', 'irt_text' );
450
+ register_setting( 'irt_options', 'irt_textOnclick' );
451
  }
452
  add_action('admin_init', 'IRecommendThisAdminRegisterSettings');
453
 
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: http://www.designerskiosk.com
4
  Tags: recommend, like, love, post, rate, rating, heart
5
  Requires at least: 3.0
6
  Tested up to: 3.2.2
7
- Stable tag: 1.4
8
- Last Updated: 2012-May-7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -60,6 +60,9 @@ You can also visit the [support center](http://www.harishchouhan.com/personal-pr
60
 
61
  == Changelog ==
62
 
 
 
 
63
  = 1.4
64
  * Added feature to display custom text when a post is liked.
65
 
4
  Tags: recommend, like, love, post, rate, rating, heart
5
  Requires at least: 3.0
6
  Tested up to: 3.2.2
7
+ Stable tag: 1.4.1
8
+ Last Updated: 2012-May-15
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
60
 
61
  == Changelog ==
62
 
63
+ = 1.4.1
64
+ * Fixed bug that broke update.
65
+
66
  = 1.4
67
  * Added feature to display custom text when a post is liked.
68