Social Counter for WordPress – AccessPress Social Counter - Version 1.1.7

Version Description

  • Fixed small issue for count format
Download this release

Release Info

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

Code changes from version 1.1.6 to 1.1.7

Files changed (2) hide show
  1. accesspress-social-counter.php +5 -2
  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.1.6
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.1.6');
28
  }
29
  /**
30
  * Register of widgets
@@ -319,6 +319,9 @@ if (!class_exists('SC_Class')) {
319
  * @param string $format
320
  */
321
  function get_formatted_count($count, $format) {
 
 
 
322
  switch ($format) {
323
  case 'comma':
324
  $count = number_format($count);
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.1.7
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.1.7');
28
  }
29
  /**
30
  * Register of widgets
319
  * @param string $format
320
  */
321
  function get_formatted_count($count, $format) {
322
+ if($count==''){
323
+ return '';
324
+ }
325
  switch ($format) {
326
  case 'comma':
327
  $count = number_format($count);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: social count, social counter, social counters, social media counters, soci
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.1
7
- Stable tag: 1.1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -125,11 +125,14 @@ Once you install the plugin , you can check some general documentation about how
125
  5. Backend Cache Settings Section
126
 
127
  == Changelog ==
 
 
 
128
  = 1.1.6 =
129
- * Uodated some css for theme 5
130
 
131
  = 1.1.5 =
132
- * Uodated some css for theme 4
133
 
134
  = 1.1.4 =
135
  * Updated some css for theme 2
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.1
7
+ Stable tag: 1.1.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
125
  5. Backend Cache Settings Section
126
 
127
  == Changelog ==
128
+ = 1.1.7 =
129
+ * Fixed small issue for count format
130
+
131
  = 1.1.6 =
132
+ * Updated some css for theme 5
133
 
134
  = 1.1.5 =
135
+ * Updated some css for theme 4
136
 
137
  = 1.1.4 =
138
  * Updated some css for theme 2