Social Counter for WordPress – AccessPress Social Counter - Version 1.6.2

Version Description

  • Fixed the facebook counter issue for the wordpress version 4.6.
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 Social Counter for WordPress – AccessPress Social Counter
Version 1.6.2
Comparing to
See all releases

Code changes from version 1.6.1 to 1.6.2

Files changed (2) hide show
  1. accesspress-social-counter.php +3 -4
  2. readme.txt +6 -3
accesspress-social-counter.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: AccessPress Social Counter
4
  * Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
5
  * Description: A plugin to display your social accounts fans, subscribers and followers number on your website with handful of backend settings and interface.
6
- * Version: 1.6.1
7
  * Author: AccessPress Themes
8
  * Author URI: http://accesspressthemes.com
9
  * Text Domain: aps-counter
@@ -24,7 +24,7 @@ if (!defined('SC_CSS_DIR')) {
24
  define('SC_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
25
  }
26
  if (!defined('SC_VERSION')) {
27
- define('SC_VERSION', '1.6.1');
28
  }
29
  /**
30
  * Register of widgets
@@ -410,13 +410,12 @@ if (!class_exists('SC_Class')) {
410
  $apsc_settings = $this->apsc_settings;
411
  $api_url = 'https://graph.facebook.com/';
412
  $url = sprintf(
413
- '%s/oauth/access_token?client_id=%s&client_secret=%s&grant_type=client_credentials',
414
  $api_url,
415
  $apsc_settings['social_profile']['facebook']['app_id'] ,
416
  $apsc_settings['social_profile']['facebook']['app_secret']
417
  );
418
  $access_token = wp_remote_get( $url, array( 'timeout' => 60 ) );
419
-
420
  if ( is_wp_error( $access_token ) || ( isset( $access_token['response']['code'] ) && 200 != $access_token['response']['code'] ) ) {
421
  return '';
422
  } else {
3
  * Plugin Name: AccessPress Social Counter
4
  * Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
5
  * Description: A plugin to display your social accounts fans, subscribers and followers number on your website with handful of backend settings and interface.
6
+ * Version: 1.6.2
7
  * Author: AccessPress Themes
8
  * Author URI: http://accesspressthemes.com
9
  * Text Domain: aps-counter
24
  define('SC_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
25
  }
26
  if (!defined('SC_VERSION')) {
27
+ define('SC_VERSION', '1.6.2');
28
  }
29
  /**
30
  * Register of widgets
410
  $apsc_settings = $this->apsc_settings;
411
  $api_url = 'https://graph.facebook.com/';
412
  $url = sprintf(
413
+ '%soauth/access_token?client_id=%s&client_secret=%s&grant_type=client_credentials',
414
  $api_url,
415
  $apsc_settings['social_profile']['facebook']['app_id'] ,
416
  $apsc_settings['social_profile']['facebook']['app_secret']
417
  );
418
  $access_token = wp_remote_get( $url, array( 'timeout' => 60 ) );
 
419
  if ( is_wp_error( $access_token ) || ( isset( $access_token['response']['code'] ) && 200 != $access_token['response']['code'] ) ) {
420
  return '';
421
  } else {
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: Access Keys
3
  Tags: social count, social counter, social counters, social media counters, social media, social network, social profiles counter, social profile count, social profile, social icons, social icon counter
4
  Donate link: http://accesspressthemes.com/donation/
5
- Requires at least: 3.8
6
- Tested up to: 4.5
7
- Stable tag: 1.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -129,6 +129,9 @@ Once you install the plugin , you can check some general documentation about how
129
  5. Backend Cache Settings Section
130
 
131
  == Changelog ==
 
 
 
132
  = 1.6.1 =
133
  * Updated backend notes to dismissible notices
134
  * Added below hooks on all the social network anchor links
2
  Contributors: Access Keys
3
  Tags: social count, social counter, social counters, social media counters, social media, social network, social profiles counter, social profile count, social profile, social icons, social icon counter
4
  Donate link: http://accesspressthemes.com/donation/
5
+ Requires at least: 4.0
6
+ Tested up to: 4.6
7
+ Stable tag: 1.6.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
129
  5. Backend Cache Settings Section
130
 
131
  == Changelog ==
132
+ = 1.6.2 =
133
+ * Fixed the facebook counter issue for the wordpress version 4.6.
134
+
135
  = 1.6.1 =
136
  * Updated backend notes to dismissible notices
137
  * Added below hooks on all the social network anchor links