Social Media Share Buttons | MashShare - Version 3.6.1

Version Description

  • Fix: Whatsapp and mail button not opening any longer after recent chrom update when noopener attribute is used.
  • New: Support WordPress 5.1
Download this release

Release Info

Developer ReneHermi
Plugin Icon 128x128 Social Media Share Buttons | MashShare
Version 3.6.1
Comparing to
See all releases

Code changes from version 3.6.0 to 3.6.1

assets/js/mashsb.js CHANGED
@@ -192,7 +192,7 @@ jQuery(document).ready(function ($) {
192
  return (jQuery(this).width() > 70) || (jQuery(this).height() > 70)
193
  })
194
  for (i = 0; i < largeImages.length; i++) {
195
- html += '<li><a target="_blank" rel="noopener" id="mashnetPinterestPopup" href="https://pinterest.com/pin/create/button/?url=' + encodeURIComponent(window.location.href) + '%2F&media=' + largeImages[i].src + '&description=' + largeImages[i].alt + '"><img src="' + largeImages[i].src + '"></a></li>';
196
  }
197
  }
198
 
192
  return (jQuery(this).width() > 70) || (jQuery(this).height() > 70)
193
  })
194
  for (i = 0; i < largeImages.length; i++) {
195
+ html += '<li><a target="_blank" rel="" id="mashnetPinterestPopup" href="https://pinterest.com/pin/create/button/?url=' + encodeURIComponent(window.location.href) + '%2F&media=' + largeImages[i].src + '&description=' + largeImages[i].alt + '"><img src="' + largeImages[i].src + '"></a></li>';
196
  }
197
  }
198
 
includes/MASHSB_SL_Plugin_Updater.php CHANGED
@@ -175,14 +175,14 @@ class MASHSB_SL_Plugin_Updater {
175
 
176
  if ( empty( $version_info->download_link ) ) {
177
  printf(
178
- __( 'There is a new version of %1$s available. <a target="_blank" rel="noopener" class="thickbox" href="%2$s">View version %3$s details</a>.', 'edd' ),
179
  esc_html( $version_info->name ),
180
  esc_url( $changelog_link ),
181
  esc_html( $version_info->new_version )
182
  );
183
  } else {
184
  printf(
185
- __( 'There is a new version of %1$s available. <a target="_blank" rel="noopener" class="thickbox" href="%2$s">View version %3$s details</a> or <a href="%4$s">update now</a>.', 'edd' ),
186
  esc_html( $version_info->name ),
187
  esc_url( $changelog_link ),
188
  esc_html( $version_info->new_version ),
175
 
176
  if ( empty( $version_info->download_link ) ) {
177
  printf(
178
+ __( 'There is a new version of %1$s available. <a target="_blank" rel="" class="thickbox" href="%2$s">View version %3$s details</a>.', 'edd' ),
179
  esc_html( $version_info->name ),
180
  esc_url( $changelog_link ),
181
  esc_html( $version_info->new_version )
182
  );
183
  } else {
184
  printf(
185
+ __( 'There is a new version of %1$s available. <a target="_blank" rel="" class="thickbox" href="%2$s">View version %3$s details</a> or <a href="%4$s">update now</a>.', 'edd' ),
186
  esc_html( $version_info->name ),
187
  esc_url( $changelog_link ),
188
  esc_html( $version_info->new_version ),
includes/template-functions.php CHANGED
@@ -541,9 +541,9 @@ function mashsb_getNetworks( $is_shortcode = false, $services = 0 ) {
541
 
542
  // Lets use the data attribute to prevent that pininit.js is overwriting our pinterest button - PR: https://secure.helpscout.net/conversation/257066283/954/?folderId=924740
543
  if ('pinterest' === $enablednetworks[$key]['id'] && !mashsb_is_amp_page() ) {
544
- $output .= '<a ' . $display . ' class="mashicon-' . $enablednetworks[$key]['id'] . $class_size . $class_margin . $class_center . $class_style . '" href="#" data-mashsb-url="'. arrNetworks( $enablednetworks[$key]['id'], $is_shortcode ) . '" target="_blank" rel="noopener nofollow"><span class="icon"></span><span class="text">' . $name . '</span></a>';
545
  } else {
546
- $output .= '<a ' . $display . ' class="mashicon-' . $enablednetworks[$key]['id'] . $class_size . $class_margin . $class_center . $class_style . '" href="' . arrNetworks( $enablednetworks[$key]['id'], $is_shortcode ) . '" target="_blank" rel="noopener nofollow"><span class="icon"></span><span class="text">' . $name . '</span></a>';
547
  }
548
  $output .= $onoffswitch;
549
  $output .= $startsecondaryshares;
@@ -675,9 +675,9 @@ function mashsb_getNetworksShortcode( $is_shortcode = false, $services = 0, $net
675
 
676
  // Lets use the data attribute to prevent that pininit.js is overwriting our pinterest button - PR: https://secure.helpscout.net/conversation/257066283/954/?folderId=924740
677
  if ('pinterest' === $enablednetworks[$key]['id'] && !mashsb_is_amp_page() ) {
678
- $output .= '<a ' . $display . ' class="mashicon-' . $enablednetworks[$key]['id'] . $class_size . $class_margin . $class_center . $class_style . $class_icons . '" href="#" data-mashsb-url="'. arrNetworks( $enablednetworks[$key]['id'], $is_shortcode ) . '" target="_blank" rel="noopener nofollow"><span class="icon"></span><span class="text">' . $name . '</span></a>';
679
  } else {
680
- $output .= '<a ' . $display . ' class="mashicon-' . $enablednetworks[$key]['id'] . $class_size . $class_margin . $class_center . $class_style . $class_icons . '" href="' . arrNetworks( $enablednetworks[$key]['id'], $is_shortcode ) . '" target="_blank" rel="noopener nofollow"><span class="icon"></span><span class="text">' . $name . '</span></a>';
681
  }
682
  $output .= $onoffswitch;
683
  $output .= $startsecondaryshares;
541
 
542
  // Lets use the data attribute to prevent that pininit.js is overwriting our pinterest button - PR: https://secure.helpscout.net/conversation/257066283/954/?folderId=924740
543
  if ('pinterest' === $enablednetworks[$key]['id'] && !mashsb_is_amp_page() ) {
544
+ $output .= '<a ' . $display . ' class="mashicon-' . $enablednetworks[$key]['id'] . $class_size . $class_margin . $class_center . $class_style . '" href="#" data-mashsb-url="'. arrNetworks( $enablednetworks[$key]['id'], $is_shortcode ) . '" target="_blank" rel="nofollow"><span class="icon"></span><span class="text">' . $name . '</span></a>';
545
  } else {
546
+ $output .= '<a ' . $display . ' class="mashicon-' . $enablednetworks[$key]['id'] . $class_size . $class_margin . $class_center . $class_style . '" href="' . arrNetworks( $enablednetworks[$key]['id'], $is_shortcode ) . '" target="_blank" rel="nofollow"><span class="icon"></span><span class="text">' . $name . '</span></a>';
547
  }
548
  $output .= $onoffswitch;
549
  $output .= $startsecondaryshares;
675
 
676
  // Lets use the data attribute to prevent that pininit.js is overwriting our pinterest button - PR: https://secure.helpscout.net/conversation/257066283/954/?folderId=924740
677
  if ('pinterest' === $enablednetworks[$key]['id'] && !mashsb_is_amp_page() ) {
678
+ $output .= '<a ' . $display . ' class="mashicon-' . $enablednetworks[$key]['id'] . $class_size . $class_margin . $class_center . $class_style . $class_icons . '" href="#" data-mashsb-url="'. arrNetworks( $enablednetworks[$key]['id'], $is_shortcode ) . '" target="_blank" rel="nofollow"><span class="icon"></span><span class="text">' . $name . '</span></a>';
679
  } else {
680
+ $output .= '<a ' . $display . ' class="mashicon-' . $enablednetworks[$key]['id'] . $class_size . $class_margin . $class_center . $class_style . $class_icons . '" href="' . arrNetworks( $enablednetworks[$key]['id'], $is_shortcode ) . '" target="_blank" rel="nofollow"><span class="icon"></span><span class="text">' . $name . '</span></a>';
681
  }
682
  $output .= $onoffswitch;
683
  $output .= $startsecondaryshares;
mashshare.php CHANGED
@@ -6,7 +6,7 @@
6
  * Description: Mashshare is a Share functionality inspired by the the great website Mashable for Facebook and Twitter. More networks available.
7
  * Author: René Hermenau
8
  * Author URI: https://www.mashshare.net
9
- * Version: 3.6.0
10
  * Text Domain: mashsb
11
  * Domain Path: /languages
12
 
@@ -35,7 +35,7 @@ if( !defined( 'ABSPATH' ) )
35
 
36
  // Plugin version
37
  if( !defined( 'MASHSB_VERSION' ) ) {
38
- define( 'MASHSB_VERSION', '3.6.0' );
39
  }
40
 
41
  // Debug mode
6
  * Description: Mashshare is a Share functionality inspired by the the great website Mashable for Facebook and Twitter. More networks available.
7
  * Author: René Hermenau
8
  * Author URI: https://www.mashshare.net
9
+ * Version: 3.6.1
10
  * Text Domain: mashsb
11
  * Domain Path: /languages
12
 
35
 
36
  // Plugin version
37
  if( !defined( 'MASHSB_VERSION' ) ) {
38
+ define( 'MASHSB_VERSION', '3.6.1' );
39
  }
40
 
41
  // Debug mode
readme.txt CHANGED
@@ -8,8 +8,8 @@ License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Tags: Share buttons, Social Sharing, social media, Facebook, Twitter, Subscribe, Traffic posts, pages, widget, social share buttons, analytics, email, dsgvo
10
  Requires at least: 3.6+
11
- Tested up to: 5.0
12
- Stable tag: 3.6.0
13
  Requires PHP: 5.2
14
 
15
  Social Media Share Buttons for Twitter, Facebook and other social networks. Highly customizable Social Media ecosystem
@@ -250,6 +250,10 @@ Read here more about this: http://docs.mashshare.net/article/10-facebook-is-show
250
 
251
  == Changelog ==
252
 
 
 
 
 
253
  = 3.6.0 =
254
  * Fix: Social Sharing Meta Box not shown with update 3.5.9
255
 
@@ -296,6 +300,7 @@ https://www.mashshare.net/changelog/
296
 
297
  == Upgrade Notice ==
298
 
299
- = 3.5.9 =
300
- * Fix: Prevent facebook popup opening twice and causing chrome blocker. Several fixes and improvements
 
301
 
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Tags: Share buttons, Social Sharing, social media, Facebook, Twitter, Subscribe, Traffic posts, pages, widget, social share buttons, analytics, email, dsgvo
10
  Requires at least: 3.6+
11
+ Tested up to: 5.1
12
+ Stable tag: 3.6.1
13
  Requires PHP: 5.2
14
 
15
  Social Media Share Buttons for Twitter, Facebook and other social networks. Highly customizable Social Media ecosystem
250
 
251
  == Changelog ==
252
 
253
+ = 3.6.1 =
254
+ * Fix: Whatsapp and mail button not opening any longer after recent chrom update when noopener attribute is used.
255
+ * New: Support WordPress 5.1
256
+
257
  = 3.6.0 =
258
  * Fix: Social Sharing Meta Box not shown with update 3.5.9
259
 
300
 
301
  == Upgrade Notice ==
302
 
303
+ = 3.6.1 =
304
+ * Fix: Whatsapp and mail button not opening any longer after recent chrom update
305
+
306