Version Description
- Sep 6, 2021 =
- Fixed: Strange behavior of the toggle switches (ON/OFF buttons) on the plugin settings page. (Thanks to Werner Krau)
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | Social Media Follow Buttons Bar |
Version | 4.73 |
Comparing to | |
See all releases |
Code changes from version 4.72 to 4.73
- inc/php/controls.php +3 -1
- inc/php/options.php +4 -4
- languages/social-media-buttons-toolbar-de_DE.mo +0 -0
- languages/social-media-buttons-toolbar-de_DE.po +3 -3
- languages/social-media-buttons-toolbar-es_ES.mo +0 -0
- languages/social-media-buttons-toolbar-es_ES.po +3 -3
- languages/social-media-buttons-toolbar-fr_FR.mo +0 -0
- languages/social-media-buttons-toolbar-fr_FR.po +3 -3
- languages/social-media-buttons-toolbar-nl_NL.mo +0 -0
- languages/social-media-buttons-toolbar-nl_NL.po +3 -3
- languages/social-media-buttons-toolbar-ru_RU.mo +0 -0
- languages/social-media-buttons-toolbar-ru_RU.po +3 -3
- languages/social-media-buttons-toolbar.pot +2 -2
- readme.txt +6 -3
- social-media-buttons-toolbar.php +1 -1
inc/php/controls.php
CHANGED
@@ -73,7 +73,8 @@ function spacexchimp_p005_control_switch( $name, $label, $help=null ) {
|
|
73 |
|
74 |
// Retrieve options from database and declare variables
|
75 |
$options = get_option( $plugin['settings'] . '_settings' );
|
76 |
-
$
|
|
|
77 |
|
78 |
// Generate a part of table
|
79 |
$out = "<tr>
|
@@ -85,6 +86,7 @@ function spacexchimp_p005_control_switch( $name, $label, $help=null ) {
|
|
85 |
type='checkbox'
|
86 |
name='" . $plugin['settings'] . "_settings[$name]'
|
87 |
id='" . $plugin['settings'] . "_settings[$name]'
|
|
|
88 |
$checked
|
89 |
class='control-switch $name'
|
90 |
>
|
73 |
|
74 |
// Retrieve options from database and declare variables
|
75 |
$options = get_option( $plugin['settings'] . '_settings' );
|
76 |
+
$option = !empty( $options[$name] ) ? $options[$name] : 'false';
|
77 |
+
$checked = ( $option == 'on' || $option == '1' || $option == 'true' ) ? "checked='checked'" : '';
|
78 |
|
79 |
// Generate a part of table
|
80 |
$out = "<tr>
|
86 |
type='checkbox'
|
87 |
name='" . $plugin['settings'] . "_settings[$name]'
|
88 |
id='" . $plugin['settings'] . "_settings[$name]'
|
89 |
+
value='true'
|
90 |
$checked
|
91 |
class='control-switch $name'
|
92 |
>
|
inc/php/options.php
CHANGED
@@ -44,10 +44,10 @@ function spacexchimp_p005_options() {
|
|
44 |
$array['margin-right'] = esc_textarea( $options['margin-right'] );
|
45 |
|
46 |
// Modify data
|
47 |
-
$array['new_tab'] = ( $array['new_tab'] == 'on' ) ? true : false
|
48 |
-
$array['show_pages'] = ( $array['show_pages'] == 'on' ) ? true : false
|
49 |
-
$array['show_posts'] = ( $array['show_posts'] == 'on' ) ? true : false
|
50 |
-
$array['tooltips'] = ( $array['tooltips'] == 'on' ) ? true : false
|
51 |
|
52 |
// Return the processed data
|
53 |
return $array;
|
44 |
$array['margin-right'] = esc_textarea( $options['margin-right'] );
|
45 |
|
46 |
// Modify data
|
47 |
+
$array['new_tab'] = ( $array['new_tab'] == 'on' || $array['new_tab'] == '1' || $array['new_tab'] == 'true' ) ? true : false;
|
48 |
+
$array['show_pages'] = ( $array['show_pages'] == 'on' || $array['show_pages'] == '1' || $array['show_pages'] == 'true' ) ? true : false;
|
49 |
+
$array['show_posts'] = ( $array['show_posts'] == 'on' || $array['show_posts'] == '1' || $array['show_posts'] == 'true' ) ? true : false;
|
50 |
+
$array['tooltips'] = ( $array['tooltips'] == 'on' || $array['tooltips'] == '1' || $array['tooltips'] == 'true' ) ? true : false;
|
51 |
|
52 |
// Return the processed data
|
53 |
return $array;
|
languages/social-media-buttons-toolbar-de_DE.mo
CHANGED
Binary file
|
languages/social-media-buttons-toolbar-de_DE.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
-
"POT-Creation-Date: 2021-
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: German\n"
|
10 |
"Language: de_DE\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2021-09-06 19:57+0300\n"
|
7 |
+
"PO-Revision-Date: 2021-09-06 19:57+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: German\n"
|
10 |
"Language: de_DE\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
+
"X-Generator: Poedit 3.0\n"
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
languages/social-media-buttons-toolbar-es_ES.mo
CHANGED
Binary file
|
languages/social-media-buttons-toolbar-es_ES.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
-
"POT-Creation-Date: 2021-
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Spanish\n"
|
10 |
"Language: es_ES\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2021-09-06 19:57+0300\n"
|
7 |
+
"PO-Revision-Date: 2021-09-06 19:57+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Spanish\n"
|
10 |
"Language: es_ES\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
+
"X-Generator: Poedit 3.0\n"
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
languages/social-media-buttons-toolbar-fr_FR.mo
CHANGED
Binary file
|
languages/social-media-buttons-toolbar-fr_FR.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
-
"POT-Creation-Date: 2021-
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: French\n"
|
10 |
"Language: fr_FR\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
18 |
"X-Poedit-Basepath: ..\n"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2021-09-06 19:57+0300\n"
|
7 |
+
"PO-Revision-Date: 2021-09-06 19:57+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: French\n"
|
10 |
"Language: fr_FR\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
15 |
+
"X-Generator: Poedit 3.0\n"
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
18 |
"X-Poedit-Basepath: ..\n"
|
languages/social-media-buttons-toolbar-nl_NL.mo
CHANGED
Binary file
|
languages/social-media-buttons-toolbar-nl_NL.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
-
"POT-Creation-Date: 2021-
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Dutch\n"
|
10 |
"Language: nl_NL\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2021-09-06 19:57+0300\n"
|
7 |
+
"PO-Revision-Date: 2021-09-06 19:57+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Dutch\n"
|
10 |
"Language: nl_NL\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
+
"X-Generator: Poedit 3.0\n"
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
languages/social-media-buttons-toolbar-ru_RU.mo
CHANGED
Binary file
|
languages/social-media-buttons-toolbar-ru_RU.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
-
"POT-Creation-Date: 2021-
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Russian\n"
|
10 |
"Language: ru_RU\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2021-09-06 19:57+0300\n"
|
7 |
+
"PO-Revision-Date: 2021-09-06 19:57+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Russian\n"
|
10 |
"Language: ru_RU\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
15 |
+
"X-Generator: Poedit 3.0\n"
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
languages/social-media-buttons-toolbar.pot
CHANGED
@@ -3,14 +3,14 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
-
"POT-Creation-Date: 2021-
|
7 |
"PO-Revision-Date: 2015-12-17 02:16+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2021-09-06 19:57+0300\n"
|
7 |
"PO-Revision-Date: 2015-12-17 02:16+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 3.0\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: Arthur Gareginyan
|
|
3 |
Tags: tiktok, likee, qzone, snapchat, twitch, icon, icon set, button, social, media, social button, social media, social network, follow, follow button, follow link, follow icon, follow me, toolbar, link to profile, flickr, twitter, google plus, youtube, google-play, telegram, patreon, imdb, bloglovin, kompoz, steam, beam, discord, ebay, etsy
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 4.9
|
6 |
-
Tested up to: 5.
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 4.
|
9 |
License: GPL3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -337,7 +337,10 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
337 |
|
338 |
|
339 |
== Changelog ==
|
340 |
-
|
|
|
|
|
|
|
341 |
= 4.72 - Jul 19, 2021 =
|
342 |
* Maintenance: Ensure compatibility with upcoming WordPress 5.8.
|
343 |
|
3 |
Tags: tiktok, likee, qzone, snapchat, twitch, icon, icon set, button, social, media, social button, social media, social network, follow, follow button, follow link, follow icon, follow me, toolbar, link to profile, flickr, twitter, google plus, youtube, google-play, telegram, patreon, imdb, bloglovin, kompoz, steam, beam, discord, ebay, etsy
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 4.9
|
6 |
+
Tested up to: 5.9
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 4.73
|
9 |
License: GPL3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
337 |
|
338 |
|
339 |
== Changelog ==
|
340 |
+
|
341 |
+
= 4.73 - Sep 6, 2021 =
|
342 |
+
* Fixed: Strange behavior of the toggle switches (ON/OFF buttons) on the plugin settings page. (Thanks to Werner Krauß)
|
343 |
+
|
344 |
= 4.72 - Jul 19, 2021 =
|
345 |
* Maintenance: Ensure compatibility with upcoming WordPress 5.8.
|
346 |
|
social-media-buttons-toolbar.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily and safely add a smart bar with social media follow buttons (not share, only link to your profiles) to any place (post content, page content, widget, sidebar, header, footer) of your WordPress website.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
-
* Version: 4.
|
9 |
* License: GPL3
|
10 |
* Text Domain: social-media-buttons-toolbar
|
11 |
* Domain Path: /languages/
|
5 |
* Description: Easily and safely add a smart bar with social media follow buttons (not share, only link to your profiles) to any place (post content, page content, widget, sidebar, header, footer) of your WordPress website.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
+
* Version: 4.73
|
9 |
* License: GPL3
|
10 |
* Text Domain: social-media-buttons-toolbar
|
11 |
* Domain Path: /languages/
|