Version Description
- Solved: compatablity issue with older versions.
Download this release
Release Info
Developer | socialdude |
Plugin | Social Media Share Buttons & Social Sharing Icons |
Version | 2.1.6 |
Comparing to | |
See all releases |
Code changes from version 2.1.5 to 2.1.6
- js/custom-admin.js +50 -1
- libs/controllers/sfsi_class_theme_check.php +3 -3
- libs/sfsi_install_uninstall.php +1 -1
- readme.txt +9 -6
- ultimate_social_media_icons.php +2 -2
js/custom-admin.js
CHANGED
@@ -1508,6 +1508,56 @@ function sfsfi_getCookie(s) {
|
|
1508 |
}
|
1509 |
|
1510 |
function sfsi_hideFooter() {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1511 |
window.onerror = function() {},
|
1512 |
SFSI = jQuery,
|
1513 |
SFSI(window).on('load',function() {
|
@@ -1632,7 +1682,6 @@ function create_suscriber_form()
|
|
1632 |
}
|
1633 |
|
1634 |
var global_error = 0;
|
1635 |
-
|
1636 |
if(typeof SFSI != 'undefined'){
|
1637 |
|
1638 |
function sfsi_dismiss_notice(btnClass,ajaxAction){
|
1508 |
}
|
1509 |
|
1510 |
function sfsi_hideFooter() {}
|
1511 |
+
//compatablity to version 3.0 which has jQuery version 1.4.2
|
1512 |
+
//jQuery.on implemnetation;
|
1513 |
+
(function($) {
|
1514 |
+
if (!$.fn.on) {
|
1515 |
+
$.fn.on = function(events, selector, data, handler) {
|
1516 |
+
var self = this;
|
1517 |
+
var args = arguments.length;
|
1518 |
+
if ( args > 3) {
|
1519 |
+
return self.delegate(selector, events, data, handler);
|
1520 |
+
}
|
1521 |
+
else if (args > 2) {
|
1522 |
+
if (typeof selector === 'string') {
|
1523 |
+
return self.delegate(selector, events, data);
|
1524 |
+
}
|
1525 |
+
else {
|
1526 |
+
return self.bind(events, selector, data);
|
1527 |
+
}
|
1528 |
+
}
|
1529 |
+
else {
|
1530 |
+
return self.bind(events, selector);
|
1531 |
+
}
|
1532 |
+
}
|
1533 |
+
};
|
1534 |
+
|
1535 |
+
$.fn.off = function(events, selector, handler) {
|
1536 |
+
var self = this;
|
1537 |
+
var args = arguments.length;
|
1538 |
+
if (typeof selector === 'string') {
|
1539 |
+
if (args > 2) {
|
1540 |
+
return self.undelegate(selector, events, handler);
|
1541 |
+
} else if (args > 1) {
|
1542 |
+
return self.undelegate(selector, events);
|
1543 |
+
} else {
|
1544 |
+
return self.undelegate();
|
1545 |
+
}
|
1546 |
+
}
|
1547 |
+
else {
|
1548 |
+
if (args > 1) {
|
1549 |
+
handler = selector;
|
1550 |
+
return self.unbind(events, handler);
|
1551 |
+
} else if (args > 0) {
|
1552 |
+
return self.unbind(events);
|
1553 |
+
} else {
|
1554 |
+
return self.unbind();
|
1555 |
+
}
|
1556 |
+
}
|
1557 |
+
};
|
1558 |
+
})(this.jQuery);
|
1559 |
+
// end compatablity to version 3.0 which has jQuery version 1.4.2
|
1560 |
+
|
1561 |
window.onerror = function() {},
|
1562 |
SFSI = jQuery,
|
1563 |
SFSI(window).on('load',function() {
|
1682 |
}
|
1683 |
|
1684 |
var global_error = 0;
|
|
|
1685 |
if(typeof SFSI != 'undefined'){
|
1686 |
|
1687 |
function sfsi_dismiss_notice(btnClass,ajaxAction){
|
libs/controllers/sfsi_class_theme_check.php
CHANGED
@@ -306,12 +306,12 @@ class sfsi_ThemeCheck
|
|
306 |
public function sfsi_plus_GetMetaKeywords($domainname){
|
307 |
$url = get_bloginfo('url');
|
308 |
$res= wp_remote_get($url);
|
309 |
-
$meta_local =
|
310 |
if ( is_array( $res ) && ! is_wp_error( $res ) ) {
|
311 |
$body = $res['body']; // use the content
|
312 |
-
$meta =
|
313 |
if(false==class_exists("DomDocument")) {
|
314 |
-
$metas=
|
315 |
preg_match_all( '/\<meta.+name="(\w*)".+content="(.*)"/i', $body, $metas);
|
316 |
preg_match_all( '/\<meta.+property="og:(\w*)".+content="(.*)"/i', $body, $metas2);
|
317 |
// $metas[1]=array_merge($metas[1],$metas2[1]);
|
306 |
public function sfsi_plus_GetMetaKeywords($domainname){
|
307 |
$url = get_bloginfo('url');
|
308 |
$res= wp_remote_get($url);
|
309 |
+
$meta_local = array("title"=>array(),"description"=>array(),"keyword"=>array());
|
310 |
if ( is_array( $res ) && ! is_wp_error( $res ) ) {
|
311 |
$body = $res['body']; // use the content
|
312 |
+
$meta = array();
|
313 |
if(false==class_exists("DomDocument")) {
|
314 |
+
$metas=array();
|
315 |
preg_match_all( '/\<meta.+name="(\w*)".+content="(.*)"/i', $body, $metas);
|
316 |
preg_match_all( '/\<meta.+property="og:(\w*)".+content="(.*)"/i', $body, $metas2);
|
317 |
// $metas[1]=array_merge($metas[1],$metas2[1]);
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -12,7 +12,7 @@ function sfsi_update_plugin()
|
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
-
update_option("sfsi_pluginVersion", "2.
|
16 |
|
17 |
if(!get_option('sfsi_serverphpVersionnotification'))
|
18 |
{
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_pluginVersion", "2.16");
|
16 |
|
17 |
if(!get_option('sfsi_serverphpVersionnotification'))
|
18 |
{
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Social Media Share Buttons & Social Sharing Icons ===
|
2 |
Contributors: socialdude
|
3 |
Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
|
4 |
-
Requires at least: 3.
|
5 |
Tested up to: 5.1
|
6 |
-
Stable tag: 2.1.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -274,10 +274,13 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
274 |
|
275 |
|
276 |
== Changelog ==
|
|
|
|
|
|
|
277 |
= 2.1.5 =
|
278 |
-
* Solved:
|
279 |
-
* Solved:
|
280 |
-
* Solved:
|
281 |
|
282 |
= 2.1.4 =
|
283 |
* Solved: Changed theme check url to match bloginfo url.
|
@@ -758,5 +761,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
758 |
|
759 |
== Upgrade Notice ==
|
760 |
|
761 |
-
= 2.1.
|
762 |
Please upgrade
|
1 |
=== Social Media Share Buttons & Social Sharing Icons ===
|
2 |
Contributors: socialdude
|
3 |
Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
|
4 |
+
Requires at least: 3.5
|
5 |
Tested up to: 5.1
|
6 |
+
Stable tag: 2.1.6
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
274 |
|
275 |
|
276 |
== Changelog ==
|
277 |
+
= 2.1.6 =
|
278 |
+
* Solved: compatablity issue with older versions.
|
279 |
+
|
280 |
= 2.1.5 =
|
281 |
+
* Solved: google plus is deprecated
|
282 |
+
* Solved: Sf count not shown
|
283 |
+
* Solved: Sf subscribe form opens blank page
|
284 |
|
285 |
= 2.1.4 =
|
286 |
* Solved: Changed theme check url to match bloginfo url.
|
761 |
|
762 |
== Upgrade Notice ==
|
763 |
|
764 |
+
= 2.1.6 =
|
765 |
Please upgrade
|
ultimate_social_media_icons.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://ultimatelysocial.com
|
|
5 |
Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
|
6 |
Author: UltimatelySocial
|
7 |
Author URI: http://ultimatelysocial.com
|
8 |
-
Version: 2.1.
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
|
@@ -65,7 +65,7 @@ register_activation_hook(__FILE__, 'sfsi_activate_plugin' );
|
|
65 |
register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
|
66 |
register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
|
67 |
|
68 |
-
if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.
|
69 |
{
|
70 |
add_action("init", "sfsi_update_plugin");
|
71 |
}
|
5 |
Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
|
6 |
Author: UltimatelySocial
|
7 |
Author URI: http://ultimatelysocial.com
|
8 |
+
Version: 2.1.6
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
|
65 |
register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
|
66 |
register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
|
67 |
|
68 |
+
if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.16)
|
69 |
{
|
70 |
add_action("init", "sfsi_update_plugin");
|
71 |
}
|