Kiwi Social Share – Social Media Share Buttons & Icons - Version 2.0.3

Version Description

Download this release

Release Info

Developer machothemes
Plugin Icon wp plugin Kiwi Social Share – Social Media Share Buttons & Icons
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.0 to 2.0.3

changelog.txt CHANGED
@@ -1,4 +1,9 @@
1
  *** Kiwi Pro Changelog ***
 
 
2
 
3
- 2016.01.19 - version 1.0.0
4
- * Initial release
 
 
 
1
  *** Kiwi Pro Changelog ***
2
+ = 2.0.3 =
3
+ * Saving settings would cause errors on some servers
4
 
5
+ = 2.0.2 =
6
+ * Ajax request failed on license activation
7
+
8
+ = 2.0.1 =
9
+ * Minor bugs
includes/lib/class-kiwi-social-share-sanitizers.php CHANGED
@@ -17,8 +17,14 @@ class Kiwi_Social_Share_Sanitizers {
17
  $sanitized = array();
18
  $token = Kiwi_Social_Share::instance();
19
  $token = $token->_token;
20
- foreach ( $input as $key => $val ) {
 
 
 
 
 
21
 
 
22
  switch ( $key ) {
23
  case 'networks_ordering':
24
  $sanitized[ $key ] = sanitize_text_field( $val );
17
  $sanitized = array();
18
  $token = Kiwi_Social_Share::instance();
19
  $token = $token->_token;
20
+ /**
21
+ * In some cases, it's too early to check this array (it's not yet formed)
22
+ */
23
+ if ( ! is_array( $input ) ) {
24
+ return $input;
25
+ }
26
 
27
+ foreach ( $input as $key => $val ) {
28
  switch ( $key ) {
29
  case 'networks_ordering':
30
  $sanitized[ $key ] = sanitize_text_field( $val );
includes/lib/class-kiwi-social-share-settings.php CHANGED
@@ -143,7 +143,6 @@ class Kiwi_Social_Share_Settings {
143
  'id' => 'advanced_settings',
144
  'callback' => array( 'Kiwi_Social_Share_Sanitizers', 'automatic' ),
145
  ),
146
-
147
  )
148
  );
149
 
143
  'id' => 'advanced_settings',
144
  'callback' => array( 'Kiwi_Social_Share_Sanitizers', 'automatic' ),
145
  ),
 
146
  )
147
  );
148
 
includes/lib/helpers/class-kiwi-social-share-helper.php CHANGED
@@ -418,11 +418,9 @@ function kiwi_social_share_get_option() {
418
  function kiwi_social_share_set_option() {
419
  if ( ! empty( $_POST ) && $_POST['action'] === 'kiwi_social_share_set_option' ) {
420
  $option = get_option( $_POST['args']['group'] );
421
- if ( ! empty( $option ) ) {
422
- $option[ $_POST['args']['option'] ] = $_POST['args']['value'];
423
- update_option( $_POST['args']['group'], $option );
424
- wp_die( 'Success' );
425
- }
426
  }
427
 
428
  wp_die( 'Forbidden' );
418
  function kiwi_social_share_set_option() {
419
  if ( ! empty( $_POST ) && $_POST['action'] === 'kiwi_social_share_set_option' ) {
420
  $option = get_option( $_POST['args']['group'] );
421
+ $option[ $_POST['args']['option'] ] = $_POST['args']['value'];
422
+ update_option( $_POST['args']['group'], $option );
423
+ wp_die( 'Success' );
 
 
424
  }
425
 
426
  wp_die( 'Forbidden' );
kiwi-social-share.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Plugin Name: Kiwi Social Share - Social Media Share Buttons & Icons
4
- * Version: 2.0.0
5
  * Plugin URI: https://www.machothemes.com/kiwi-social-share
6
  * Description: Really beautiful & simple social media & share buttons + icons. Simplicity & speed is key with this social media share plugin.
7
  * Author: Macho Themes
@@ -38,7 +38,7 @@ require_once 'includes/class-kiwi-social-share-autoloader.php';
38
  * @return object Kiwi_Social_Share
39
  */
40
  function Kiwi_Social_Share() {
41
- $instance = Kiwi_Social_Share::instance( __FILE__, '2.0.0' );
42
 
43
  if ( is_null( $instance->settings ) ) {
44
  $instance->settings = Kiwi_Social_Share_Settings::instance( $instance );
1
  <?php
2
  /*
3
  * Plugin Name: Kiwi Social Share - Social Media Share Buttons & Icons
4
+ * Version: 2.0.3
5
  * Plugin URI: https://www.machothemes.com/kiwi-social-share
6
  * Description: Really beautiful & simple social media & share buttons + icons. Simplicity & speed is key with this social media share plugin.
7
  * Author: Macho Themes
38
  * @return object Kiwi_Social_Share
39
  */
40
  function Kiwi_Social_Share() {
41
+ $instance = Kiwi_Social_Share::instance( __FILE__, '2.0.3' );
42
 
43
  if ( is_null( $instance->settings ) ) {
44
  $instance->settings = Kiwi_Social_Share_Settings::instance( $instance );
languages/kiwi-social-share.pot CHANGED
@@ -3,9 +3,9 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Kiwi Social Share - Social Media Share Buttons & Icons "
6
- "2.0.0\n"
7
  "Report-Msgid-Bugs-To: https://www.machothemes.com/\n"
8
- "POT-Creation-Date: 2017-05-03 08:43:56+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -356,8 +356,8 @@ msgstr ""
356
 
357
  #: includes/class-kiwi-social-share.php:330
358
  #: includes/class-kiwi-social-share.php:339
359
- #: includes/lib/class-kiwi-social-share-settings.php:247
360
- #: includes/lib/class-kiwi-social-share-settings.php:256
361
  msgid "Cheatin&#8217; huh?"
362
  msgstr ""
363
 
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Kiwi Social Share - Social Media Share Buttons & Icons "
6
+ "2.0.3\n"
7
  "Report-Msgid-Bugs-To: https://www.machothemes.com/\n"
8
+ "POT-Creation-Date: 2017-06-07 06:33:25+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
356
 
357
  #: includes/class-kiwi-social-share.php:330
358
  #: includes/class-kiwi-social-share.php:339
359
+ #: includes/lib/class-kiwi-social-share-settings.php:240
360
+ #: includes/lib/class-kiwi-social-share-settings.php:249
361
  msgid "Cheatin&#8217; huh?"
362
  msgstr ""
363
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: cristian.raiber, silkalns
4
  Tags: Facebook, facebook connect, facebook like, facebook share, facebook share icon, floating buttons, floating share, floating share icons, follow, google, Google Login, google plus, icons, increase shares, linkedin, linkedin share, media, page, pinterest, pinterest button, pinterest share, plugin, post to social networks, Reddit, reddit share, reddit sharing, Share, share button, share buttons, share counter, share icons, share links, share page, share post, sharebar, sharing, sharing icons, social, social app, social buttons, social comment, social comment facebook, social connect, social floating icons, social follow, social icon, social icons, social media, social media app, social media buttons, Social Media Plugins, social media share, social media sharing, social media tools, social network share, Social Plugins, social provider, social share, Social Share Buttons, social share icon, social share icons, social sharing, social sharing icons, social widget, stumbleupon sharing, tumblr share, tumblr sharing, twitter, twitter share, woocommerce, woocommerce connect, woocommerce sharing, yahoo
5
  Requires at least: 3.8
6
  Tested up to: 4.7
7
- Stable tag: 2.0.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -28,10 +28,7 @@ This is by far the best & easiest to use WordPress social media share plugin. A
28
  * The eye-catching approach, leaf style (like a leaf in the wind).
29
  * Display social icons: before content, after content or both.
30
  * Display social icons on: posts or pages.
31
- * They come in 3 different sizes: large, medium & small.
32
- * SVG icons used for perfectly crisp rendering on all devices.
33
- * Only 2 HTTP request on the front-end to render the social sharing icons.
34
- * Amazing loading speed because it only uses 2 files.
35
 
36
  = WordPress Social Media Widget (for website) =
37
 
4
  Tags: Facebook, facebook connect, facebook like, facebook share, facebook share icon, floating buttons, floating share, floating share icons, follow, google, Google Login, google plus, icons, increase shares, linkedin, linkedin share, media, page, pinterest, pinterest button, pinterest share, plugin, post to social networks, Reddit, reddit share, reddit sharing, Share, share button, share buttons, share counter, share icons, share links, share page, share post, sharebar, sharing, sharing icons, social, social app, social buttons, social comment, social comment facebook, social connect, social floating icons, social follow, social icon, social icons, social media, social media app, social media buttons, Social Media Plugins, social media share, social media sharing, social media tools, social network share, Social Plugins, social provider, social share, Social Share Buttons, social share icon, social share icons, social sharing, social sharing icons, social widget, stumbleupon sharing, tumblr share, tumblr sharing, twitter, twitter share, woocommerce, woocommerce connect, woocommerce sharing, yahoo
5
  Requires at least: 3.8
6
  Tested up to: 4.7
7
+ Stable tag: 2.0.3
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
28
  * The eye-catching approach, leaf style (like a leaf in the wind).
29
  * Display social icons: before content, after content or both.
30
  * Display social icons on: posts or pages.
31
+ * Amazing loading speed.
 
 
 
32
 
33
  = WordPress Social Media Widget (for website) =
34