Version Description
- Relaunched with a whole set of NEW FEATURES and Improvement. Please upgrade immediately and provide your feedback. highly recommended. Aplogies in advance, if anything breaks!
=
Download this release
Release Info
Developer | hiddenpearls |
Plugin | Simple Social Media Share Buttons – Social Sharing for Everyone |
Version | 2.0.2 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.2
- assets/css/admin.css +3 -0
- assets/css/front.css +1 -0
- inc/upgrade-routine.php +10 -0
- readme.txt +7 -4
- simple-social-buttons.php +6 -6
assets/css/admin.css
CHANGED
@@ -181,6 +181,9 @@ div.inside div.simplesocialbuttons-nav li{
|
|
181 |
margin: 5px 4px;
|
182 |
display: inline-block;
|
183 |
}
|
|
|
|
|
|
|
184 |
.simplesocialbuttons-nav ul{
|
185 |
list-style: none;
|
186 |
margin: 0;
|
181 |
margin: 5px 4px;
|
182 |
display: inline-block;
|
183 |
}
|
184 |
+
div.inside div.simplesocialbuttons-nav li a{
|
185 |
+
text-transform: capitalize;
|
186 |
+
}
|
187 |
.simplesocialbuttons-nav ul{
|
188 |
list-style: none;
|
189 |
margin: 0;
|
assets/css/front.css
CHANGED
@@ -30,6 +30,7 @@ div.ssb-button-pinterest { width: 100px; }
|
|
30 |
font-family: 'Open Sans';
|
31 |
box-sizing: border-box;
|
32 |
font-weight: normal;
|
|
|
33 |
}
|
34 |
.simplesocialbuttons button:focus, .simplesocialbuttons button:hover{
|
35 |
outline: none;
|
30 |
font-family: 'Open Sans';
|
31 |
box-sizing: border-box;
|
32 |
font-weight: normal;
|
33 |
+
text-transform: capitalize !important;
|
34 |
}
|
35 |
.simplesocialbuttons button:focus, .simplesocialbuttons button:hover{
|
36 |
outline: none;
|
inc/upgrade-routine.php
CHANGED
@@ -8,6 +8,10 @@ add_action( 'init', 'ssb_upgrade_routine_2' );
|
|
8 |
*/
|
9 |
function ssb_upgrade_routine_2() {
|
10 |
|
|
|
|
|
|
|
|
|
11 |
// Store Icon Order.
|
12 |
if ( get_option( 'ssb_icons_order' ) ) {
|
13 |
$_default = array(
|
@@ -15,6 +19,11 @@ function ssb_upgrade_routine_2() {
|
|
15 |
);
|
16 |
update_option( 'ssb_networks', $_default );
|
17 |
delete_option( 'ssb_icons_order' );
|
|
|
|
|
|
|
|
|
|
|
18 |
}
|
19 |
|
20 |
// If settings avaliable.
|
@@ -91,6 +100,7 @@ function ssb_upgrade_routine_2() {
|
|
91 |
delete_option( 'ssb_pr_settings' );
|
92 |
}
|
93 |
|
|
|
94 |
}
|
95 |
|
96 |
?>
|
8 |
*/
|
9 |
function ssb_upgrade_routine_2() {
|
10 |
|
11 |
+
if ( get_option( 'run_ssb_update_routine_2' ) || get_option( 'ssb_networks' ) ) {
|
12 |
+
return;
|
13 |
+
}
|
14 |
+
|
15 |
// Store Icon Order.
|
16 |
if ( get_option( 'ssb_icons_order' ) ) {
|
17 |
$_default = array(
|
19 |
);
|
20 |
update_option( 'ssb_networks', $_default );
|
21 |
delete_option( 'ssb_icons_order' );
|
22 |
+
} else {
|
23 |
+
$_default = array(
|
24 |
+
'icon_selection' => 'fbshare,twitter,googleplus,linkedin',
|
25 |
+
);
|
26 |
+
update_option( 'ssb_networks', $_default );
|
27 |
}
|
28 |
|
29 |
// If settings avaliable.
|
100 |
delete_option( 'ssb_pr_settings' );
|
101 |
}
|
102 |
|
103 |
+
update_option( 'run_ssb_update_routine_2', 'yes' );
|
104 |
}
|
105 |
|
106 |
?>
|
readme.txt
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
=== Simple Social Buttons - Social Sharing for Everyone ===
|
2 |
Contributors: hiddenpearls, WPBrigade
|
3 |
Donate link: https://wpbrigade.com/
|
4 |
Tags: Social share, Social buttons, Whatsapp, Viber, LinkedIn, facebook, google, twitter, pinterest, plus one
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.8
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Google +1, Facebook, WhatsApp, Viber, Twitter, Reddit, LinkedIn and Pinterest. This makes it the most flexible social sharing plugin ever for Everyone.
|
12 |
|
13 |
== Description ==
|
14 |
|
@@ -134,12 +134,15 @@ Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation s
|
|
134 |
|
135 |
== Upgrade Notice ==
|
136 |
|
137 |
-
= 2.0.
|
138 |
* Relaunched with a whole set of NEW FEATURES and Improvement. Please upgrade immediately and provide your feedback. highly recommended. Aplogies in advance, if anything breaks!
|
139 |
|
140 |
|
141 |
== Changelog ==
|
142 |
|
|
|
|
|
|
|
143 |
= 2.0.1 - 2017-11-01 =
|
144 |
* Bug Fix: Compatibility issues with older PHP versions.
|
145 |
|
1 |
+
=== Simple Social Media Share Buttons - Social Sharing for Everyone ===
|
2 |
Contributors: hiddenpearls, WPBrigade
|
3 |
Donate link: https://wpbrigade.com/
|
4 |
Tags: Social share, Social buttons, Whatsapp, Viber, LinkedIn, facebook, google, twitter, pinterest, plus one
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.8
|
7 |
+
Stable tag: 2.0.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Simple Social Media Share Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Google +1, Facebook, WhatsApp, Viber, Twitter, Reddit, LinkedIn and Pinterest. This makes it the most flexible social sharing plugin ever for Everyone.
|
12 |
|
13 |
== Description ==
|
14 |
|
134 |
|
135 |
== Upgrade Notice ==
|
136 |
|
137 |
+
= 2.0.2 =
|
138 |
* Relaunched with a whole set of NEW FEATURES and Improvement. Please upgrade immediately and provide your feedback. highly recommended. Aplogies in advance, if anything breaks!
|
139 |
|
140 |
|
141 |
== Changelog ==
|
142 |
|
143 |
+
= 2.0.2 - 2017-11-02 =
|
144 |
+
* Bug Fix: Migration issue with old users.
|
145 |
+
|
146 |
= 2.0.1 - 2017-11-01 =
|
147 |
* Bug Fix: Compatibility issues with older PHP versions.
|
148 |
|
simple-social-buttons.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Simple Social Buttons
|
4 |
* Plugin URI: http://www.WPBrigade.com/wordpress/plugins/simple-social-buttons/
|
5 |
* Description: Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Google +1, Facebook, WhatsApp, Viber, Twitter, Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social Sharing Plugin ever for Everyone.</code>
|
6 |
-
* Version: 2.0.
|
7 |
* Author: WPBrigade
|
8 |
* Author URI: http://www.WPBrigade.com/
|
9 |
* Text Domain: simple-social-buttons
|
@@ -30,7 +30,7 @@
|
|
30 |
|
31 |
class SimpleSocialButtonsPR {
|
32 |
public $pluginName = 'Simple Social Buttons';
|
33 |
-
public $pluginVersion = '2.0.
|
34 |
public $pluginPrefix = 'ssb_pr_';
|
35 |
public $hideCustomMetaKey = '_ssb_hide';
|
36 |
|
@@ -187,11 +187,11 @@ class SimpleSocialButtonsPR {
|
|
187 |
if ( function_exists( 'is_account_page' ) && is_account_page() ) {
|
188 |
return $info;
|
189 |
}
|
190 |
-
|
191 |
// Return if caching is off.
|
192 |
-
if (
|
193 |
-
|
194 |
-
}
|
195 |
|
196 |
ob_start();
|
197 |
|
3 |
* Plugin Name: Simple Social Buttons
|
4 |
* Plugin URI: http://www.WPBrigade.com/wordpress/plugins/simple-social-buttons/
|
5 |
* Description: Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Google +1, Facebook, WhatsApp, Viber, Twitter, Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social Sharing Plugin ever for Everyone.</code>
|
6 |
+
* Version: 2.0.2
|
7 |
* Author: WPBrigade
|
8 |
* Author URI: http://www.WPBrigade.com/
|
9 |
* Text Domain: simple-social-buttons
|
30 |
|
31 |
class SimpleSocialButtonsPR {
|
32 |
public $pluginName = 'Simple Social Buttons';
|
33 |
+
public $pluginVersion = '2.0.2';
|
34 |
public $pluginPrefix = 'ssb_pr_';
|
35 |
public $hideCustomMetaKey = '_ssb_hide';
|
36 |
|
187 |
if ( function_exists( 'is_account_page' ) && is_account_page() ) {
|
188 |
return $info;
|
189 |
}
|
190 |
+
|
191 |
// Return if caching is off.
|
192 |
+
// if ( 'on' != $this->settings['cache'] ) {
|
193 |
+
// return $info;
|
194 |
+
// }
|
195 |
|
196 |
ob_start();
|
197 |
|