Version Description
- Fixed a bug related to shortcode theme.
- Checked compatibility with WP version 5.8.2.
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Counter for WordPress – AccessPress Social Counter |
Version | 1.9.2 |
Comparing to | |
See all releases |
Code changes from version 1.9.1 to 1.9.2
- accesspress-social-counter.php +2 -2
- inc/frontend/shortcode.php +2 -3
- readme.txt +6 -2
accesspress-social-counter.php
CHANGED
@@ -6,7 +6,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
|
6 |
* Plugin Name: AccessPress Social Counter
|
7 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
|
8 |
* Description: A plugin to display your social accounts fans, subscribers and followers number on your website with handful of backend settings and interface.
|
9 |
-
* Version: 1.9.
|
10 |
* Author: AccessPress Themes
|
11 |
* Author URI: http://accesspressthemes.com
|
12 |
* Text Domain: aps-counter
|
@@ -29,7 +29,7 @@ if ( ! defined( 'SC_CSS_DIR' ) ) {
|
|
29 |
}
|
30 |
|
31 |
if ( ! defined( 'SC_VERSION' ) ) {
|
32 |
-
define( 'SC_VERSION', '1.9.
|
33 |
}
|
34 |
|
35 |
if ( ! defined( 'SC_PATH' ) ) {
|
6 |
* Plugin Name: AccessPress Social Counter
|
7 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
|
8 |
* Description: A plugin to display your social accounts fans, subscribers and followers number on your website with handful of backend settings and interface.
|
9 |
+
* Version: 1.9.2
|
10 |
* Author: AccessPress Themes
|
11 |
* Author URI: http://accesspressthemes.com
|
12 |
* Text Domain: aps-counter
|
29 |
}
|
30 |
|
31 |
if ( ! defined( 'SC_VERSION' ) ) {
|
32 |
+
define( 'SC_VERSION', '1.9.2' );
|
33 |
}
|
34 |
|
35 |
if ( ! defined( 'SC_PATH' ) ) {
|
inc/frontend/shortcode.php
CHANGED
@@ -3,8 +3,7 @@ defined('ABSPATH') or die("No script kiddies please!");
|
|
3 |
|
4 |
$apsc_settings = $this->apsc_settings;
|
5 |
$cache_period = ($apsc_settings['cache_period'] != '') ? esc_attr($apsc_settings['cache_period']) * 60 * 60 : 24 * 60 * 60;
|
6 |
-
|
7 |
-
$apsc_settings['social_profile_theme'] = isset($atts['theme']) ? esc_attr($atts['theme']) : esc_attr($apsc_settings['social_profile_theme']);
|
8 |
$format = isset($apsc_settings['counter_format']) ? esc_attr($apsc_settings['counter_format']) : 'comma';
|
9 |
$enable_font_css = (isset($apsc_settings['disable_font_css']) && $apsc_settings['disable_font_css'] == 0) ? true : false;
|
10 |
if ($enable_font_css) {
|
@@ -18,7 +17,7 @@ if ($enable_font_css) {
|
|
18 |
}
|
19 |
include(SC_PATH . 'inc/frontend/font-awesome-icon.php');
|
20 |
?>
|
21 |
-
<div class="apsc-icons-wrapper clearfix apsc-<?php echo esc_attr($
|
22 |
<?php
|
23 |
if (isset($apsc_settings['profile_order']) && !empty($apsc_settings['profile_order'])) {
|
24 |
foreach ($apsc_settings['profile_order'] as $social_profile) {
|
3 |
|
4 |
$apsc_settings = $this->apsc_settings;
|
5 |
$cache_period = ($apsc_settings['cache_period'] != '') ? esc_attr($apsc_settings['cache_period']) * 60 * 60 : 24 * 60 * 60;
|
6 |
+
$apsc_theme = isset($atts['theme']) ? $atts['theme'] : $apsc_settings['social_profile_theme'];
|
|
|
7 |
$format = isset($apsc_settings['counter_format']) ? esc_attr($apsc_settings['counter_format']) : 'comma';
|
8 |
$enable_font_css = (isset($apsc_settings['disable_font_css']) && $apsc_settings['disable_font_css'] == 0) ? true : false;
|
9 |
if ($enable_font_css) {
|
17 |
}
|
18 |
include(SC_PATH . 'inc/frontend/font-awesome-icon.php');
|
19 |
?>
|
20 |
+
<div class="apsc-icons-wrapper clearfix apsc-<?php echo esc_attr($apsc_theme); ?> <?php echo esc_attr($font_awesome_version); ?>" >
|
21 |
<?php
|
22 |
if (isset($apsc_settings['profile_order']) && !empty($apsc_settings['profile_order'])) {
|
23 |
foreach ($apsc_settings['profile_order'] as $social_profile) {
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ 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.5
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 1.9.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -130,6 +130,10 @@ Once you install the plugin , you can check some general documentation about how
|
|
130 |
|
131 |
== Changelog ==
|
132 |
|
|
|
|
|
|
|
|
|
133 |
= 1.9.1 =
|
134 |
* Solved facebook page follower count issue for pages transitioned to new page experience.
|
135 |
|
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.5
|
6 |
+
Tested up to: 5.8.2
|
7 |
+
Stable tag: 1.9.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
130 |
|
131 |
== Changelog ==
|
132 |
|
133 |
+
= 1.9.2 =
|
134 |
+
* Fixed a bug related to shortcode theme.
|
135 |
+
* Checked compatibility with WP version 5.8.2.
|
136 |
+
|
137 |
= 1.9.1 =
|
138 |
* Solved facebook page follower count issue for pages transitioned to new page experience.
|
139 |
|