Social Share WordPress Plugin – AccessPress Social Share - Version 4.1.3

Version Description

  • Removed unnecessary codes from count shortcode.
  • Done the bug fixings for the popup share issue for facebook and linkedin.
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 Social Share WordPress Plugin – AccessPress Social Share
Version 4.1.3
Comparing to
See all releases

Code changes from version 4.1.2 to 4.1.3

accesspress-social-share.php CHANGED
@@ -4,7 +4,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
4
  Plugin name: Social Share WordPress Plugin - AccessPress Social Share
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-share/
6
  Description: A plugin to add various social media shares to a site with dynamic configuration options.
7
- Version: 4.1.2
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain: accesspress-social-share
@@ -30,7 +30,7 @@ if ( !defined( 'APSS_LANG_DIR' ) ) {
30
  }
31
 
32
  if ( !defined( 'APSS_VERSION' ) ) {
33
- define( 'APSS_VERSION', '4.1.2' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
@@ -129,7 +129,7 @@ if ( !class_exists( 'APSS_Class' ) ) {
129
  global $post;
130
  $post_content = $content;
131
  $title = str_replace( '+', '%20', urlencode( $post->post_title ) );
132
- $content = strip_shortcodes( strip_tags( get_the_content() ) );
133
 
134
  if ( strlen( $content ) >= 100 ) {
135
  $excerpt = substr( $content, 0, 100 ) . '...';
4
  Plugin name: Social Share WordPress Plugin - AccessPress Social Share
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-share/
6
  Description: A plugin to add various social media shares to a site with dynamic configuration options.
7
+ Version: 4.1.3
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain: accesspress-social-share
30
  }
31
 
32
  if ( !defined( 'APSS_VERSION' ) ) {
33
+ define( 'APSS_VERSION', '4.1.3' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
129
  global $post;
130
  $post_content = $content;
131
  $title = str_replace( '+', '%20', urlencode( $post->post_title ) );
132
+ $content = trim( strip_shortcodes( strip_tags( $post->post_content ) ) );
133
 
134
  if ( strlen( $content ) >= 100 ) {
135
  $excerpt = substr( $content, 0, 100 ) . '...';
inc/backend/how-to-use.php CHANGED
@@ -39,20 +39,21 @@
39
  <dd>
40
  <p>You can use the below shortcode to display the share counts number only in the content using shortcode. You can wrap that number in your reqired html tags and use it as per your need. The share count displayed will be the sum of entered network attributes.
41
  <ul class="how-list">
42
- <li><li><i class="fa fa-check"></i>Example 2: <code>[apss_count]</code></li></li>
43
- <li>Available Parameters</li>
44
- <ul>
45
- <li><i class="fa fa-check"></i>network : You can define which social medias to show total share counts. You need to enter the networks name in string in comma separated values. You need to enter at least one network attribute.</li>
46
- <li>Available network parameters are: facebook, twitter, google-plus, pinterest, linkedin</li>
47
- <li>Example 2.1: <code>[apss_count network='facebook, pinterest']</code></li>
48
- <li>This will show the sum of share counts from facebook and pinterest.</li>
49
- </ul>
50
- <ul>
51
- <li><i class="fa fa-check"></i>custom_url_link</li>
52
- <li>Now you can use attribute "custom_url_link" to fetch the share counts for custom url as well.</li>
53
- <li>Example 2.2: <code>[apss_count network='facebook, pinterest' custom_url_link='<?php echo site_url('sample-page'); ?>']</code></li>
54
- <li>This attribute is useful in case if the shortcode is not fetching the share counts for shortcode placed url and force the shortcode to use the url from the attribute defined in custom_url_link.</li>
55
- </ul>
 
56
  </ul>
57
  </p>
58
  </dd>
39
  <dd>
40
  <p>You can use the below shortcode to display the share counts number only in the content using shortcode. You can wrap that number in your reqired html tags and use it as per your need. The share count displayed will be the sum of entered network attributes.
41
  <ul class="how-list">
42
+ <li><li><i class="fa fa-check"></i>Example 2: <code>[apss_count]</code></li></li>
43
+ <li>Available Parameters
44
+ <ul>
45
+ <li><i class="fa fa-check"></i>network : You can define which social medias to show total share counts. You need to enter the networks name in string in comma separated values. You need to enter at least one network attribute.</li>
46
+ <li>Available network parameters are: facebook, twitter, google-plus, pinterest, linkedin</li>
47
+ <li>Example 2.1: <code>[apss_count network='facebook, pinterest']</code></li>
48
+ <li>This will show the sum of share counts from facebook and pinterest.</li>
49
+ </ul>
50
+ <ul>
51
+ <li><i class="fa fa-check"></i>custom_url_link</li>
52
+ <li>Now you can use attribute "custom_url_link" to fetch the share counts for custom url as well.</li>
53
+ <li>Example 2.2: <code>[apss_count network='facebook, pinterest' custom_url_link='<?php echo site_url('sample-page'); ?>']</code></li>
54
+ <li>This attribute is useful in case if the shortcode is not fetching the share counts for shortcode placed url and force the shortcode to use the url from the attribute defined in custom_url_link.</li>
55
+ </ul>
56
+ </li>
57
  </ul>
58
  </p>
59
  </dd>
inc/frontend/content-filter.php CHANGED
@@ -1,5 +1,4 @@
1
- <?php defined( 'ABSPATH' ) or die( "No script kiddies please!" ); ?>
2
- <?php
3
  $apss_link_open_option = ($options['dialog_box_options'] == '1') ? "_blank" : "";
4
  $apss_link_open_option_value = intval($options['dialog_box_options']);
5
  $twitter_user = $options['twitter_username'];
@@ -40,7 +39,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
40
 
41
  ?>
42
  <div class='apss-facebook apss-single-icon'>
43
- <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window('<?php echo $link; ?>');" <?php } ?> title="<?php _e( 'Share on Facebook', 'accesspress-social-share' ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
44
  <div class='apss-icon-block clearfix'>
45
  <i class='fa fa-facebook'></i>
46
  <span class='apss-social-text'><?php _e( 'Share on Facebook', 'accesspress-social-share' ); ?></span>
@@ -65,7 +64,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
65
  $count = $this->get_count( $key, $url );
66
  ?>
67
  <div class='apss-twitter apss-single-icon'>
68
- <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window('<?php echo $link; ?>');" <?php } ?> title="<?php _e( 'Share on Twitter', 'accesspress-social-share' ); ?>" target='<?php echo $apss_link_open_option; ?>' href="<?php echo $link; ?>">
69
  <div class='apss-icon-block clearfix'>
70
  <i class='fa fa-twitter'></i>
71
  <span class='apss-social-text'><?php _e( 'Share on Twitter', 'accesspress-social-share' ); ?></span><span class='apss-share'><?php _e( 'Tweet', 'accesspress-social-share' ); ?></span>
@@ -84,7 +83,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
84
  $count = $this->get_count( $key, $url );
85
  ?>
86
  <div class='apss-google-plus apss-single-icon'>
87
- <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window('<?php echo $link; ?>');" <?php } ?> title="<?php _e( 'Share on Google Plus', 'accesspress-social-share' ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
88
  <div class='apss-icon-block clearfix'>
89
  <i class='fa fa-google-plus'></i>
90
  <span class='apss-social-text'><?php _e( 'Share on Google Plus', 'accesspress-social-share' ); ?></span>
@@ -121,13 +120,12 @@ foreach ( $options['social_networks'] as $key => $value ) {
121
 
122
  //couter available for linkedin
123
  case 'linkedin':
124
- $excerpt = strip_tags(get_the_excerpt());
125
  $link = "http://www.linkedin.com/shareArticle?mini=true&amp;title=" . $title . "&amp;url=" . $url . "&amp;summary=" . $excerpt;
126
  $count = $this->get_count( $key, $url );
127
  ?>
128
 
129
  <div class='apss-linkedin apss-single-icon'>
130
- <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window('<?php echo $link; ?>');" <?php } ?> title="<?php _e( 'Share on LinkedIn', 'accesspress-social-share' ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
131
  <div class='apss-icon-block clearfix'><i class='fa fa-linkedin'></i>
132
  <span class='apss-social-text'><?php _e( 'Share on LinkedIn', 'accesspress-social-share' ); ?></span>
133
  <span class='apss-share'><?php _e( 'Share', 'accesspress-social-share' ); ?></span>
@@ -145,7 +143,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
145
  $link = "http://digg.com/submit?phase=2%20&amp;url=" . $url . "&amp;title=" . $title;
146
  ?>
147
  <div class='apss-digg apss-single-icon'>
148
- <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window('<?php echo $link; ?>');" <?php } ?> title="<?php _e( 'Share on Digg', 'accesspress-social-share' ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
149
  <div class='apss-icon-block clearfix'>
150
  <i class='fa fa-digg'></i>
151
  <span class='apss-social-text'><?php _e( 'Share on Digg', 'accesspress-social-share' ); ?></span>
1
+ <?php defined( 'ABSPATH' ) or die( "No script kiddies please!" );
 
2
  $apss_link_open_option = ($options['dialog_box_options'] == '1') ? "_blank" : "";
3
  $apss_link_open_option_value = intval($options['dialog_box_options']);
4
  $twitter_user = $options['twitter_username'];
39
 
40
  ?>
41
  <div class='apss-facebook apss-single-icon'>
42
+ <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window(event, '<?php echo $link; ?>');" <?php } ?> title="<?php _e( 'Share on Facebook', 'accesspress-social-share' ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
43
  <div class='apss-icon-block clearfix'>
44
  <i class='fa fa-facebook'></i>
45
  <span class='apss-social-text'><?php _e( 'Share on Facebook', 'accesspress-social-share' ); ?></span>
64
  $count = $this->get_count( $key, $url );
65
  ?>
66
  <div class='apss-twitter apss-single-icon'>
67
+ <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window(event, '<?php echo $link; ?>');" <?php } ?> title="<?php _e( 'Share on Twitter', 'accesspress-social-share' ); ?>" target='<?php echo $apss_link_open_option; ?>' href="<?php echo $link; ?>">
68
  <div class='apss-icon-block clearfix'>
69
  <i class='fa fa-twitter'></i>
70
  <span class='apss-social-text'><?php _e( 'Share on Twitter', 'accesspress-social-share' ); ?></span><span class='apss-share'><?php _e( 'Tweet', 'accesspress-social-share' ); ?></span>
83
  $count = $this->get_count( $key, $url );
84
  ?>
85
  <div class='apss-google-plus apss-single-icon'>
86
+ <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window(event, '<?php echo $link; ?>');" <?php } ?> title="<?php _e( 'Share on Google Plus', 'accesspress-social-share' ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
87
  <div class='apss-icon-block clearfix'>
88
  <i class='fa fa-google-plus'></i>
89
  <span class='apss-social-text'><?php _e( 'Share on Google Plus', 'accesspress-social-share' ); ?></span>
120
 
121
  //couter available for linkedin
122
  case 'linkedin':
 
123
  $link = "http://www.linkedin.com/shareArticle?mini=true&amp;title=" . $title . "&amp;url=" . $url . "&amp;summary=" . $excerpt;
124
  $count = $this->get_count( $key, $url );
125
  ?>
126
 
127
  <div class='apss-linkedin apss-single-icon'>
128
+ <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window(event, '<?php echo $link; ?>');" <?php } ?> title="<?php _e( 'Share on LinkedIn', 'accesspress-social-share' ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
129
  <div class='apss-icon-block clearfix'><i class='fa fa-linkedin'></i>
130
  <span class='apss-social-text'><?php _e( 'Share on LinkedIn', 'accesspress-social-share' ); ?></span>
131
  <span class='apss-share'><?php _e( 'Share', 'accesspress-social-share' ); ?></span>
143
  $link = "http://digg.com/submit?phase=2%20&amp;url=" . $url . "&amp;title=" . $title;
144
  ?>
145
  <div class='apss-digg apss-single-icon'>
146
+ <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window(event, '<?php echo $link; ?>');" <?php } ?> title="<?php _e( 'Share on Digg', 'accesspress-social-share' ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
147
  <div class='apss-icon-block clearfix'>
148
  <i class='fa fa-digg'></i>
149
  <span class='apss-social-text'><?php _e( 'Share on Digg', 'accesspress-social-share' ); ?></span>
inc/frontend/count_shortcode.php CHANGED
@@ -20,32 +20,7 @@ $total_count = 0;
20
  $count = 0;
21
  foreach ( $options['social_networks'] as $key => $value ) {
22
  if ( intval( $value ) == '1' ) {
23
- switch ( $key ) {
24
- //counter available for facebook
25
- case 'facebook':
26
- $count = $this->get_count( $key, $url );
27
- break;
28
-
29
- //counter available for twitter
30
- case 'twitter':
31
- $count = $this->get_count( $key, $url );
32
- break;
33
-
34
- //counter available for google plus
35
- case 'google-plus':
36
- $count = $this->get_count( $key, $url );
37
- break;
38
-
39
- //counter available for pinterest
40
- case 'pinterest':
41
- $count = $this->get_count( $key, $url );
42
- break;
43
-
44
- //couter available for linkedin
45
- case 'linkedin':
46
- $count = $this->get_count( $key, $url );
47
- break;
48
- }
49
  $total_count += $count;
50
  }
51
  }
20
  $count = 0;
21
  foreach ( $options['social_networks'] as $key => $value ) {
22
  if ( intval( $value ) == '1' ) {
23
+ $count = $this->get_count( $key, $url );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  $total_count += $count;
25
  }
26
  }
inc/frontend/shortcode.php CHANGED
@@ -49,8 +49,8 @@ if ( isset( $attr['counter'] ) ) {
49
 
50
  <div class='apss-social-share apss-theme-<?php echo $icon_set_value; ?> clearfix'>
51
  <?php
52
- $title = str_replace( '+', '%20', urlencode( $post->post_title ) );
53
- $content = strip_shortcodes( strip_tags( get_the_content() ) );
54
  if ( strlen( $content ) >= 100 ) {
55
  $excerpt = substr( $content, 0, 100 ) . '...';
56
  } else {
@@ -72,7 +72,7 @@ if ( strlen( $content ) >= 100 ) {
72
  $count = $this->get_count( $key, $url );
73
  ?>
74
  <div class='apss-facebook apss-single-icon'>
75
- <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window('<?php echo $link; ?>');" <?php } ?> title='<?php _e( 'Share on Facebook', 'accesspress-social-share' ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
76
  <div class='apss-icon-block clearfix'>
77
  <i class='fa fa-facebook'></i>
78
  <span class='apss-social-text'><?php _e( 'Share on Facebook', 'accesspress-social-share' ); ?></span>
@@ -97,7 +97,7 @@ if ( strlen( $content ) >= 100 ) {
97
  $count = $this->get_count( $key, $url );
98
  ?>
99
  <div class='apss-twitter apss-single-icon'>
100
- <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window('<?php echo $link; ?>');" <?php } ?> title='<?php _e( 'Share on Twitter', 'accesspress-social-share' ); ?>' target='<?php echo $apss_link_open_option; ?>' href="<?php echo $link; ?>">
101
  <div class='apss-icon-block clearfix'>
102
  <i class='fa fa-twitter'></i>
103
  <span class='apss-social-text'><?php _e( 'Share on Twitter', 'accesspress-social-share' ); ?></span><span class='apss-share'><?php _e( 'Tweet', 'accesspress-social-share' ); ?></span>
@@ -116,7 +116,7 @@ if ( strlen( $content ) >= 100 ) {
116
  $count = $this->get_count( $key, $url );
117
  ?>
118
  <div class='apss-google-plus apss-single-icon'>
119
- <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window('<?php echo $link; ?>');" <?php } ?> title='<?php _e( 'Share on Google Plus', 'accesspress-social-share' ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
120
  <div class='apss-icon-block clearfix'>
121
  <i class='fa fa-google-plus'></i>
122
  <span class='apss-social-text'><?php _e( 'Share on Google Plus', 'accesspress-social-share' ); ?> </span>
@@ -155,7 +155,7 @@ if ( strlen( $content ) >= 100 ) {
155
  $count = $this->get_count( $key, $url );
156
  ?>
157
  <div class='apss-linkedin apss-single-icon'>
158
- <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window('<?php echo $link; ?>');" <?php } ?> title='<?php _e( 'Share on LinkedIn', 'accesspress-social-share' ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
159
  <div class='apss-icon-block clearfix'><i class='fa fa-linkedin'></i>
160
  <span class='apss-social-text'><?php _e( 'Share on LinkedIn', 'accesspress-social-share' ); ?></span>
161
  <span class='apss-share'><?php _e( 'Share', 'accesspress-social-share' ); ?></span>
@@ -175,7 +175,7 @@ if ( strlen( $content ) >= 100 ) {
175
  $link = "http://digg.com/submit?phase=2%20&amp;url=" . $url . "&amp;title=" . $title;
176
  ?>
177
  <div class='apss-digg apss-single-icon'>
178
- <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window('<?php echo $link; ?>');" <?php } ?> title='<?php _e( 'Share on Digg', 'accesspress-social-share' ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
179
  <div class='apss-icon-block clearfix'>
180
  <i class='fa fa-digg'></i>
181
  <span class='apss-social-text'><?php _e( 'Share on Digg', 'accesspress-social-share' ); ?></span>
49
 
50
  <div class='apss-social-share apss-theme-<?php echo $icon_set_value; ?> clearfix'>
51
  <?php
52
+ $title = trim(str_replace( '+', '%20', urlencode( $post->post_title ) ));
53
+ $content = trim(strip_shortcodes( strip_tags( $post->post_content ) ));
54
  if ( strlen( $content ) >= 100 ) {
55
  $excerpt = substr( $content, 0, 100 ) . '...';
56
  } else {
72
  $count = $this->get_count( $key, $url );
73
  ?>
74
  <div class='apss-facebook apss-single-icon'>
75
+ <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window(event, '<?php echo $link; ?>');" <?php } ?> title='<?php _e( 'Share on Facebook', 'accesspress-social-share' ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
76
  <div class='apss-icon-block clearfix'>
77
  <i class='fa fa-facebook'></i>
78
  <span class='apss-social-text'><?php _e( 'Share on Facebook', 'accesspress-social-share' ); ?></span>
97
  $count = $this->get_count( $key, $url );
98
  ?>
99
  <div class='apss-twitter apss-single-icon'>
100
+ <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window(event, '<?php echo $link; ?>');" <?php } ?> title='<?php _e( 'Share on Twitter', 'accesspress-social-share' ); ?>' target='<?php echo $apss_link_open_option; ?>' href="<?php echo $link; ?>">
101
  <div class='apss-icon-block clearfix'>
102
  <i class='fa fa-twitter'></i>
103
  <span class='apss-social-text'><?php _e( 'Share on Twitter', 'accesspress-social-share' ); ?></span><span class='apss-share'><?php _e( 'Tweet', 'accesspress-social-share' ); ?></span>
116
  $count = $this->get_count( $key, $url );
117
  ?>
118
  <div class='apss-google-plus apss-single-icon'>
119
+ <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window(event, '<?php echo $link; ?>');" <?php } ?> title='<?php _e( 'Share on Google Plus', 'accesspress-social-share' ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
120
  <div class='apss-icon-block clearfix'>
121
  <i class='fa fa-google-plus'></i>
122
  <span class='apss-social-text'><?php _e( 'Share on Google Plus', 'accesspress-social-share' ); ?> </span>
155
  $count = $this->get_count( $key, $url );
156
  ?>
157
  <div class='apss-linkedin apss-single-icon'>
158
+ <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window(event, '<?php echo $link; ?>');" <?php } ?> title='<?php _e( 'Share on LinkedIn', 'accesspress-social-share' ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
159
  <div class='apss-icon-block clearfix'><i class='fa fa-linkedin'></i>
160
  <span class='apss-social-text'><?php _e( 'Share on LinkedIn', 'accesspress-social-share' ); ?></span>
161
  <span class='apss-share'><?php _e( 'Share', 'accesspress-social-share' ); ?></span>
175
  $link = "http://digg.com/submit?phase=2%20&amp;url=" . $url . "&amp;title=" . $title;
176
  ?>
177
  <div class='apss-digg apss-single-icon'>
178
+ <a rel='nofollow' <?php if($apss_link_open_option_value == 2){ ?> onclick="apss_open_in_popup_window(event, '<?php echo $link; ?>');" <?php } ?> title='<?php _e( 'Share on Digg', 'accesspress-social-share' ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
179
  <div class='apss-icon-block clearfix'>
180
  <i class='fa fa-digg'></i>
181
  <span class='apss-social-text'><?php _e( 'Share on Digg', 'accesspress-social-share' ); ?></span>
js/frontend.js CHANGED
@@ -8,7 +8,7 @@ function pinIt()
8
  document.body.appendChild(e);
9
  }
10
 
11
- function apss_open_in_popup_window(url){
12
  event.preventDefault();
13
  window.open(url, 'fdadas', 'toolbars=0,width=640,height=320,left=200,top=200,scrollbars=1,resizable=1');
14
  }
8
  document.body.appendChild(e);
9
  }
10
 
11
+ function apss_open_in_popup_window(event, url){
12
  event.preventDefault();
13
  window.open(url, 'fdadas', 'toolbars=0,width=640,height=320,left=200,top=200,scrollbars=1,resizable=1');
14
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: social share counter, social share, social media share, social network sha
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.5
7
- Stable tag: 4.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -131,6 +131,10 @@ Yes. You can use the AccessPress social share by using shortcode anywhere you wa
131
  6. Backend Miscellaneous Settings Section
132
 
133
  == Changelog ==
 
 
 
 
134
  = 4.1.2 =
135
  * Changed the priority of the_content filter to make the plugin compactible with "Advanced Ads" plugin.
136
  * Updated the 'apss_count' shortcode to support multiple networks. Please see "how to use" tab for more information.
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.5
7
+ Stable tag: 4.1.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
131
  6. Backend Miscellaneous Settings Section
132
 
133
  == Changelog ==
134
+ = 4.1.3 =
135
+ * Removed unnecessary codes from count shortcode.
136
+ * Done the bug fixings for the popup share issue for facebook and linkedin.
137
+
138
  = 4.1.2 =
139
  * Changed the priority of the_content filter to make the plugin compactible with "Advanced Ads" plugin.
140
  * Updated the 'apss_count' shortcode to support multiple networks. Please see "how to use" tab for more information.