Version Description
- Fixed: "Notice: Undefined index: new_tab in .../social-media-buttons-toolbar.php on line 240".
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | Social Media Follow Buttons Bar |
Version | 1.5 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.5
- readme.txt +8 -4
- social-media-buttons-toolbar.php +3 -4
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: icon, icon set, button, social, media, social button, social media, social
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.4
|
7 |
-
Stable tag: 1.
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -67,11 +67,11 @@ D) For add the toolbar directly to a theme files, just add one of the following
|
|
67 |
|
68 |
**Got more ideas? Tell me!**
|
69 |
|
70 |
-
|
71 |
|
72 |
**Please Vote and Enjoy**
|
73 |
|
74 |
-
|
75 |
|
76 |
|
77 |
== Installation ==
|
@@ -146,7 +146,7 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
146 |
|
147 |
**Credits**
|
148 |
|
149 |
-
Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2) by Ivlichev Victor Petrovich and licensed under the Creative Commons (Attribution 3.0 Unported)
|
150 |
|
151 |
**Support**
|
152 |
|
@@ -163,6 +163,8 @@ Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2
|
|
163 |
* [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar)
|
164 |
|
165 |
== Changelog ==
|
|
|
|
|
166 |
= 1.4 =
|
167 |
* Added 6 new buttons (LiveJournal, Pinterest, Tumblr, VKontakte, Odnoklassniki, Personal website).
|
168 |
* Fixed: "Use of undefined constant media".
|
@@ -196,6 +198,8 @@ Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2
|
|
196 |
|
197 |
|
198 |
== Upgrade Notice ==
|
|
|
|
|
199 |
= 1.4 =
|
200 |
* Added 6 new buttons (LiveJournal, Pinterest, Tumblr, VKontakte, Odnoklassniki, Personal website).
|
201 |
* Fixed: "Use of undefined constant media".
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 1.4
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
67 |
|
68 |
**Got more ideas? Tell me!**
|
69 |
|
70 |
+
If you have any suggestions to make this plugin better, don't hesitate to contact me.
|
71 |
|
72 |
**Please Vote and Enjoy**
|
73 |
|
74 |
+
Your votes really make a difference! Thanks.
|
75 |
|
76 |
|
77 |
== Installation ==
|
146 |
|
147 |
**Credits**
|
148 |
|
149 |
+
Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2) by Ivlichev Victor Petrovich and licensed under the [Creative Commons (Attribution 3.0 Unported)](http://creativecommons.org/licenses/by/3.0/).
|
150 |
|
151 |
**Support**
|
152 |
|
163 |
* [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar)
|
164 |
|
165 |
== Changelog ==
|
166 |
+
= 1.5 =
|
167 |
+
* Fixed: "Notice: Undefined index: new_tab in .../social-media-buttons-toolbar.php on line 240".
|
168 |
= 1.4 =
|
169 |
* Added 6 new buttons (LiveJournal, Pinterest, Tumblr, VKontakte, Odnoklassniki, Personal website).
|
170 |
* Fixed: "Use of undefined constant media".
|
198 |
|
199 |
|
200 |
== Upgrade Notice ==
|
201 |
+
= 1.5=
|
202 |
+
* Fixed: "Notice: Undefined index: new_tab in .../social-media-buttons-toolbar.php on line 240".
|
203 |
= 1.4 =
|
204 |
* Added 6 new buttons (LiveJournal, Pinterest, Tumblr, VKontakte, Odnoklassniki, Personal website).
|
205 |
* Fixed: "Use of undefined constant media".
|
social-media-buttons-toolbar.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily add the smart toolbar with social media buttons (not share, only link to your profiles) to any place of your WordPress web-site.
|
6 |
* Author: Arthur "Berserkr" Gareginyan
|
7 |
* Author URI: http://www.arthurgareginyan.com
|
8 |
-
* Version: 1.
|
9 |
* License: GPL3
|
10 |
* Text Domain: smbtoolbar
|
11 |
* Domain Path: /languages/
|
@@ -216,7 +216,7 @@ function smbtoolbar_setting($name, $label, $help=null, $field=null, $placeholder
|
|
216 |
/**
|
217 |
* Generate the buttons toolbar
|
218 |
*
|
219 |
-
* @since 1.
|
220 |
*/
|
221 |
function smbtoolbar_tollbar() {
|
222 |
|
@@ -237,8 +237,7 @@ function smbtoolbar_tollbar() {
|
|
237 |
}
|
238 |
|
239 |
// Open link in new tab
|
240 |
-
|
241 |
-
if (!empty($new_tab)) {
|
242 |
$new_tab = 'target="blank"';
|
243 |
} else {
|
244 |
$new_tab = '';
|
5 |
* Description: Easily add the smart toolbar with social media buttons (not share, only link to your profiles) to any place of your WordPress web-site.
|
6 |
* Author: Arthur "Berserkr" Gareginyan
|
7 |
* Author URI: http://www.arthurgareginyan.com
|
8 |
+
* Version: 1.5
|
9 |
* License: GPL3
|
10 |
* Text Domain: smbtoolbar
|
11 |
* Domain Path: /languages/
|
216 |
/**
|
217 |
* Generate the buttons toolbar
|
218 |
*
|
219 |
+
* @since 1.5
|
220 |
*/
|
221 |
function smbtoolbar_tollbar() {
|
222 |
|
237 |
}
|
238 |
|
239 |
// Open link in new tab
|
240 |
+
if (!empty($options['new_tab'])) {
|
|
|
241 |
$new_tab = 'target="blank"';
|
242 |
} else {
|
243 |
$new_tab = '';
|