WordPress Social Tools, Related Posts, Monetization – Shareaholic - Version 8.13.16

Version Description

We update this plugin regularly so we can make it better for you. Update to the latest version for all of the available features and improvements. Thanks for using Shareaholic!

Download this release

Release Info

Developer shareaholic
Plugin Icon 128x128 WordPress Social Tools, Related Posts, Monetization – Shareaholic
Version 8.13.16
Comparing to
See all releases

Code changes from version 8.13.15 to 8.13.16

Files changed (3) hide show
  1. public.php +6 -4
  2. readme.txt +6 -3
  3. shareaholic.php +3 -3
public.php CHANGED
@@ -401,13 +401,11 @@ class ShareaholicPublic {
401
  if ( ! get_post_meta( get_the_ID(), "shareaholic_disable_{$app}", true ) ) {
402
  // check if ABOVE location is turned on
403
  if ( isset( $settings[ $app ][ "{$page_type}_above_content" ] ) && $settings[ $app ][ "{$page_type}_above_content" ] == 'on' ) {
404
- $id = $settings['location_name_ids'][ $app ][ "{$page_type}_above_content" ];
405
- $content = self::canvas( $id, $app, "{$page_type}_above_content" ) . $content;
406
  }
407
  // check if BELOW location is turned on
408
  if ( isset( $settings[ $app ][ "{$page_type}_below_content" ] ) && $settings[ $app ][ "{$page_type}_below_content" ] == 'on' ) {
409
- $id = $settings['location_name_ids'][ $app ][ "{$page_type}_below_content" ];
410
- $content .= self::canvas( $id, $app, "{$page_type}_below_content" );
411
  }
412
  }
413
  }
@@ -465,6 +463,10 @@ class ShareaholicPublic {
465
  $canvas .= " data-summary='$summary'";
466
  }
467
 
 
 
 
 
468
  if ( $id_name != null ) {
469
  $canvas .= " data-app-id-name='$id_name'";
470
  }
401
  if ( ! get_post_meta( get_the_ID(), "shareaholic_disable_{$app}", true ) ) {
402
  // check if ABOVE location is turned on
403
  if ( isset( $settings[ $app ][ "{$page_type}_above_content" ] ) && $settings[ $app ][ "{$page_type}_above_content" ] == 'on' ) {
404
+ $content = self::canvas( null, $app, "{$page_type}_above_content" ) . $content;
 
405
  }
406
  // check if BELOW location is turned on
407
  if ( isset( $settings[ $app ][ "{$page_type}_below_content" ] ) && $settings[ $app ][ "{$page_type}_below_content" ] == 'on' ) {
408
+ $content .= self::canvas( null, $app, "{$page_type}_below_content" );
 
409
  }
410
  }
411
  }
463
  $canvas .= " data-summary='$summary'";
464
  }
465
 
466
+ if ( $id != null ) {
467
+ $canvas .= " data-app-id='$id'";
468
+ }
469
+
470
  if ( $id_name != null ) {
471
  $canvas .= " data-app-id-name='$id_name'";
472
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: social, social sharing, google analytics, pinterest, twitter, share butto
4
  Requires at least: 3.7
5
  Tested up to: 5.3
6
  Requires PHP: 5.3
7
- Stable tag: 8.13.15
8
 
9
 
10
  Boost Audience Engagement with Award Winning Speed Optimized Social Tools: Share Buttons, Related Posts, Monetization & Google Analytics.
@@ -311,9 +311,12 @@ Each time you change Shareaholic's thumbnail dimensions like this, you will prob
311
 
312
  == Changelog ==
313
 
 
 
 
314
  = 8.13.15 (2020-02-13) =
315
  * Bugfix: Set correct status defaults on the backend upon setup for In-Page blocks
316
- * Enhancement: Set canvas div's to hidden initially and do not include in-page app IDs
317
 
318
  = 8.13.14 (2020-02-11) =
319
  * Feature: Check Share Share Counts from Admin Menu
@@ -1025,7 +1028,7 @@ Each time you change Shareaholic's thumbnail dimensions like this, you will prob
1025
  * Show Related Posts data status
1026
 
1027
  == Upgrade Notice ==
1028
- = 8.13.15 =
1029
  We update this plugin regularly so we can make it better for you. Update to the latest version for all of the available features and improvements. Thanks for using Shareaholic!
1030
 
1031
  = 8.12.1 =
4
  Requires at least: 3.7
5
  Tested up to: 5.3
6
  Requires PHP: 5.3
7
+ Stable tag: 8.13.16
8
 
9
 
10
  Boost Audience Engagement with Award Winning Speed Optimized Social Tools: Share Buttons, Related Posts, Monetization & Google Analytics.
311
 
312
  == Changelog ==
313
 
314
+ = 8.13.16 (2020-02-14) =
315
+ * Bugfix: Set In-Page block app ID for shortcode when required
316
+
317
  = 8.13.15 (2020-02-13) =
318
  * Bugfix: Set correct status defaults on the backend upon setup for In-Page blocks
319
+ * Enhancement: Set canvas divs to hidden initially and do not include In-Page block app IDs
320
 
321
  = 8.13.14 (2020-02-11) =
322
  * Feature: Check Share Share Counts from Admin Menu
1028
  * Show Related Posts data status
1029
 
1030
  == Upgrade Notice ==
1031
+ = 8.13.16 =
1032
  We update this plugin regularly so we can make it better for you. Update to the latest version for all of the available features and improvements. Thanks for using Shareaholic!
1033
 
1034
  = 8.12.1 =
shareaholic.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Shareaholic - Grow and Engage Your Audience
4
  Plugin URI: https://www.shareaholic.com/website-tools/
5
  Description: Shareaholic’s official WordPress plugin allows you to add Award-Winning Social Share Buttons, Related Posts, Content Analytics, Ad Monetization, and more to your website.
6
- Version: 8.13.15
7
  Author: Shareaholic
8
  Author URI: https://www.shareaholic.com
9
  Text Domain: shareaholic
@@ -14,7 +14,7 @@ Domain Path: /languages
14
  * The main file!
15
  *
16
  * @package shareaholic
17
- * @version 8.13.15
18
  */
19
 
20
  /**
@@ -71,7 +71,7 @@ if ( ! class_exists( 'Shareaholic' ) ) {
71
  const API_URL = 'https://web.shareaholic.com'; // uses static IPs for firewall whitelisting
72
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
73
 
74
- const VERSION = '8.13.15';
75
 
76
  /**
77
  * Starts off as false so that ::get_instance() returns
3
  Plugin Name: Shareaholic - Grow and Engage Your Audience
4
  Plugin URI: https://www.shareaholic.com/website-tools/
5
  Description: Shareaholic’s official WordPress plugin allows you to add Award-Winning Social Share Buttons, Related Posts, Content Analytics, Ad Monetization, and more to your website.
6
+ Version: 8.13.16
7
  Author: Shareaholic
8
  Author URI: https://www.shareaholic.com
9
  Text Domain: shareaholic
14
  * The main file!
15
  *
16
  * @package shareaholic
17
+ * @version 8.13.16
18
  */
19
 
20
  /**
71
  const API_URL = 'https://web.shareaholic.com'; // uses static IPs for firewall whitelisting
72
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
73
 
74
+ const VERSION = '8.13.16';
75
 
76
  /**
77
  * Starts off as false so that ::get_instance() returns