Pinterest Pin It Button On Image Hover And Post - Version 2.3.6.1

Version Description

= 0.1 = Starter version no upgrade is required.

Download this release

Release Info

Developer weblizar
Plugin Icon 128x128 Pinterest Pin It Button On Image Hover And Post
Version 2.3.6.1
Comparing to
See all releases

Code changes from version 2.3.6 to 2.3.6.1

Files changed (2) hide show
  1. pinterest-pin-It-button.php +16 -17
  2. readme.txt +5 -2
pinterest-pin-It-button.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Pinterest Pin It Button On Image Hover And After Post & Page Content
4
- * Version: 2.3.6
5
  * Description: Pin Your WordPress Blog Posts Pages Images With Pinterest
6
  * Author: Weblizar
7
  * Author URI: http://weblizar.com/plugins/
@@ -130,20 +130,19 @@ function pinterest_pinit_button_settings_page() {
130
  //Save Plugin Settings
131
  add_action( 'wp_ajax_save_pinit', 'PinItSaveSettings' );
132
  function PinItSaveSettings() {
133
- $PinItPost = sanitize_option_PinItPost('PinItPost', $_POST['PinItPost']);
134
- $PinItPage = sanitize_option_PinItPage('PinItPage', $_POST['PinItPage']);
135
- $PinItOnHover = sanitize_option_PinItOnHover('PinItOnHover', $_POST['PinItOnHover']);
136
- $PinItStatus = sanitize_option_PinItStatus('PinItStatus', $_POST['PinItStatus']);
137
- $PinItDesign = sanitize_option_PinItDesign('PinItDesign', $_POST['PinItDesign']);
138
- $PinItColor = sanitize_option_PinItColor('PinItColor', $_POST['PinItColor']);
139
- $PinItSize = sanitize_option_PinItSize('PinItSize', $_POST['PinItSize']);
140
- array(
141
- update_option('WL_Enable_Pinit_Post', $PinItPost),
142
- update_option('WL_Enable_Pinit_Page', $PinItPage),
143
- update_option('WL_Pinit_Btn_On_Hover', $PinItOnHover),
144
- update_option('WL_Mobile_Status', $PinItStatus),
145
- update_option('WL_Pinit_Btn_Design', $PinItDesign),
146
- update_option('WL_Pinit_Btn_Color', $PinItColor),
147
- update_option('WL_Pinit_Btn_Size', $PinItSize),
148
- );
149
  } ?>
1
  <?php
2
  /**
3
  * Plugin Name: Pinterest Pin It Button On Image Hover And After Post & Page Content
4
+ * Version: 2.3.6.1
5
  * Description: Pin Your WordPress Blog Posts Pages Images With Pinterest
6
  * Author: Weblizar
7
  * Author URI: http://weblizar.com/plugins/
130
  //Save Plugin Settings
131
  add_action( 'wp_ajax_save_pinit', 'PinItSaveSettings' );
132
  function PinItSaveSettings() {
133
+ $PinItPost = sanitize_text_field($_POST['PinItPost']);
134
+ $PinItPage = sanitize_text_field($_POST['PinItPage']);
135
+ $PinItOnHover = sanitize_text_field($_POST['PinItOnHover']);
136
+ $PinItStatus = sanitize_text_field($_POST['PinItStatus']);
137
+ $PinItDesign = sanitize_text_field($_POST['PinItDesign']);
138
+ $PinItColor = sanitize_text_field($_POST['PinItColor']);
139
+ $PinItSize = sanitize_text_field($_POST['PinItSize']);
140
+
141
+ update_option('WL_Enable_Pinit_Post', $PinItPost);
142
+ update_option('WL_Enable_Pinit_Page', $PinItPage);
143
+ update_option('WL_Pinit_Btn_On_Hover', $PinItOnHover);
144
+ update_option('WL_Mobile_Status', $PinItStatus);
145
+ update_option('WL_Pinit_Btn_Design', $PinItDesign);
146
+ update_option('WL_Pinit_Btn_Color', $PinItColor);
147
+ update_option('WL_Pinit_Btn_Size', $PinItSize);
 
148
  } ?>
readme.txt CHANGED
@@ -5,8 +5,8 @@ Contributors: weblizar
5
  Donate link: http://www.weblizar.com/
6
  Tags: pinterest, pin images, pin photo, pinterest photo share plugin, pin it button, pin plugin, pinterest button, pinterest pin button, wordpress pinterest plugin, pinterest pin it button on hover, pin it on hover, pin it button on post and page
7
  Requires at least: 3.5
8
- Tested up to: 4.4.1
9
- Stable tag: 2.3.6
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -44,6 +44,9 @@ Pinterest pin it button on image hover plugin provides facility to pins your blo
44
 
45
  For more information, see [Weblizar](http://wwww.weblizar.com/).
46
 
 
 
 
47
  = Version 2.3.6 06-Feb-2016 =
48
  * Sanitized method used appropriately
49
  * Bug: setting was not saving
5
  Donate link: http://www.weblizar.com/
6
  Tags: pinterest, pin images, pin photo, pinterest photo share plugin, pin it button, pin plugin, pinterest button, pinterest pin button, wordpress pinterest plugin, pinterest pin it button on hover, pin it on hover, pin it button on post and page
7
  Requires at least: 3.5
8
+ Tested up to: 4.4.2
9
+ Stable tag: 2.3.6.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
44
 
45
  For more information, see [Weblizar](http://wwww.weblizar.com/).
46
 
47
+ = Version 2.3.6.1 08-Feb-2016 =
48
+ * Bug: setting was not saving
49
+
50
  = Version 2.3.6 06-Feb-2016 =
51
  * Sanitized method used appropriately
52
  * Bug: setting was not saving