Social Share Icons & Social Share Buttons - Version 1.5

Version Description

  • jQuery issues fixed
  • Vulnerability issues fixed
  • Twitter-button didn't get displayed in full sometimes, this is fixed now
  • CSS issues (occurred on some templates) fixed
  • Facebook updated API (so counts didn't get displayed correctly anymore), we updated the plugin accordingly
  • Sometimes error messages appeared on the front end, this is fixed now
Download this release

Release Info

Developer socialdude
Plugin Icon 128x128 Social Share Icons & Social Share Buttons
Version 1.5
Comparing to
See all releases

Code changes from version 1.4 to 1.5

css/sfsi-style.css CHANGED
@@ -2044,6 +2044,10 @@ ul.sfsiplus_tab_3_icns li .sfsiplus_icns_tab_3, ul.sfsiplus_tab_3_icns li .radio
2044
  display: inline-block;
2045
  position: relative;
2046
  }
 
 
 
 
2047
  .sfsi_tool_tip_2 a {
2048
  min-height: 0!important;
2049
  }
@@ -3530,7 +3534,7 @@ ul.cstmskin_iconlist {
3530
  .tab8 .sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr .usually > li { width:85% !important; max-width: 100% !important; margin-left: 70px; font-family: 'helveticaneue-light'; padding-bottom: 5px}
3531
  .tab8 .sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr .options > label { width:356px !important; margin:0; width: auto; margin-bottom: 0; margin-top: 0px; }
3532
  .tab8 .row.sfsiplus_PostsSettings_section .options .first.chcklbl { float: left !important; width: 335px !important; }
3533
- .tab8 .row.sfsiplus_PostsSettings_section .options .chckwpr { width:538px; float:right; }
3534
  .tab8 .row.sfsiplus_PostsSettings_section .options {
3535
  width:90%;
3536
  margin:0;
@@ -3776,7 +3780,7 @@ ul.plus_icn_listing li .sfsiplus_right_info label.sfsiplus_sub-subtitle a
3776
  line-height: 30px;
3777
  }
3778
  .chckwpr .snglchckcntr:first-child { float:left; }
3779
- .chckwpr .snglchckcntr:last-child { float:left; margin-left: 150px; }
3780
  .chckwpr
3781
  {
3782
  width:100%;
@@ -3810,7 +3814,7 @@ label.sfsiplus_toglpstpgsbttl { float: left; margin-top: 5px !important}
3810
  color: #69737c;
3811
  float: left
3812
  }
3813
- .tab8 .row.sfsiplus_PostsSettings_section .options .seconds.chcklbl { float: right; width: 538px !important; }
3814
  .sfsibeforpstwpr
3815
  {
3816
  width: 100%;
@@ -3900,6 +3904,7 @@ label.sfsiplus_toglpstpgsbttl { float: left; margin-top: 5px !important}
3900
  }
3901
  .options.sfsipluspstvwpr {
3902
  margin-left: 17% !important;
 
3903
  }
3904
  .tab8 .row.sfsiplus_PostsSettings_section .options.sfsipluspstvwpr .first.chcklbl
3905
  {
2044
  display: inline-block;
2045
  position: relative;
2046
  }
2047
+ .sfsi_plus_widget
2048
+ {
2049
+ min-height: 55px;
2050
+ }
2051
  .sfsi_tool_tip_2 a {
2052
  min-height: 0!important;
2053
  }
3534
  .tab8 .sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr .usually > li { width:85% !important; max-width: 100% !important; margin-left: 70px; font-family: 'helveticaneue-light'; padding-bottom: 5px}
3535
  .tab8 .sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr .options > label { width:356px !important; margin:0; width: auto; margin-bottom: 0; margin-top: 0px; }
3536
  .tab8 .row.sfsiplus_PostsSettings_section .options .first.chcklbl { float: left !important; width: 335px !important; }
3537
+ .tab8 .row.sfsiplus_PostsSettings_section .options .chckwpr { width:400px; float:right; }
3538
  .tab8 .row.sfsiplus_PostsSettings_section .options {
3539
  width:90%;
3540
  margin:0;
3780
  line-height: 30px;
3781
  }
3782
  .chckwpr .snglchckcntr:first-child { float:left; }
3783
+ .chckwpr .snglchckcntr:last-child { float:left; margin-left: 110px; }
3784
  .chckwpr
3785
  {
3786
  width:100%;
3814
  color: #69737c;
3815
  float: left
3816
  }
3817
+ .tab8 .row.sfsiplus_PostsSettings_section .options .seconds.chcklbl { float: right; width: 400px !important; }
3818
  .sfsibeforpstwpr
3819
  {
3820
  width: 100%;
3904
  }
3905
  .options.sfsipluspstvwpr {
3906
  margin-left: 17% !important;
3907
+ margin-left: 0% !important;
3908
  }
3909
  .tab8 .row.sfsiplus_PostsSettings_section .options.sfsipluspstvwpr .first.chcklbl
3910
  {
js/custom-admin.js CHANGED
@@ -66,7 +66,7 @@ function sfsi_plus_depened_sections() {
66
  var s = i + 1, e = 74 * i;
67
  SFSI(".sfsiplus_row_" + s + "_2").css("background-position", "-588px -" + e + "px");
68
  }
69
- var t = SFSI(".icon_img").attr("src")
70
  if(t)
71
  {
72
  if (t.indexOf("subscribe") !=-1)
66
  var s = i + 1, e = 74 * i;
67
  SFSI(".sfsiplus_row_" + s + "_2").css("background-position", "-588px -" + e + "px");
68
  }
69
+ var t = SFSI(".icon_img").attr("src");
70
  if(t)
71
  {
72
  if (t.indexOf("subscribe") !=-1)
js/custom.js CHANGED
@@ -306,7 +306,8 @@ SFSI(document).ready(function(s) {
306
  var s = parseInt(SFSI(".sfsi_plus_wDiv").height()) + 15 + "px";
307
  SFSI(".sfsi_plus_holders").each(function() {
308
  SFSI(this).css("height", s);
309
- });
 
310
  }, 200);
311
  });
312
 
306
  var s = parseInt(SFSI(".sfsi_plus_wDiv").height()) + 15 + "px";
307
  SFSI(".sfsi_plus_holders").each(function() {
308
  SFSI(this).css("height", s);
309
+ });
310
+ SFSI(".sfsi_plus_widget").css("min-height", "auto");
311
  }, 200);
312
  });
313
 
js/jquery-migrate-1.1.0.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! jQuery Migrate v1.1.0 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
2
- jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){"use strict";function r(n){o[n]||(o[n]=!0,e.migrateWarnings.push(n),t.console&&console.warn&&!e.migrateMute&&(console.warn("JQMIGRATE: "+n),e.migrateTrace&&console.trace&&console.trace()))}function a(t,a,o,i){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(i),o},set:function(e){r(i),o=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=o}var o={};e.migrateWarnings=[],!e.migrateMute&&t.console&&console.log&&console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){o={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var i={},s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",i,"jQuery.attrFn is deprecated"),e.attr=function(t,a,o,i){var u=a.toLowerCase(),c=t&&t.nodeType;return i&&4>s.length&&(r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(c)&&e.isFunction(e.fn[a]))?e(t)[a](o):("type"===a&&o!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[u]&&p.test(u)&&(e.attrHooks[u]={get:function(t,r){var a,o=e.prop(t,r);return o===!0||"boolean"!=typeof o&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(u)&&r("jQuery.fn.attr('"+u+"') may use property instead of attribute")),s.call(e,t,a,o))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^(?:[^<]*(<[\w\W]+>)[^>]*|#([\w\-]*))$/;e.fn.init=function(t,n,a){var o;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(o=y.exec(t))&&o[1]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(e.trim(t),n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h,a(e,"browser",h,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t};var b=e.fn.data;e.fn.data=function(t){var a,o,i=this[0];return!i||"events"!==t||1!==arguments.length||(a=e.data(i,t),o=e._data(i,t),a!==n&&a!==o||o===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),o)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,o,i){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),o)for(c=function(e){return!e.type||j.test(e.type)?i?i.push(e.parentNode?e.parentNode.removeChild(e):e):o.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(o.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,C=e.fn.live,T=e.fn.die,M="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",S=RegExp("\\b(?:"+M+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,o){e!==document&&S.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,o)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,o=t.guid||e.guid++,i=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%i;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=o;a.length>i;)a[i++].guid=o;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),C?C.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),T?T.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return!n&!S.test(e)&&r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(M.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
 
 
js/jquery-migrate-min.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ /*! jQuery Migrate v1.2.0 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
2
+ jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("<input/>",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^[^<]*(.*?)[^>]*$/,b=/^[^<]*<[\w\W]+>[^>]*$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=b.exec(t))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),">"!==t.charAt(t.length-1)&&r("$(html) HTML text after last tag is ignored"),"#"===e.trim(t).charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?(i=y.exec(t),v.call(this,e.parseHTML(i[1]||t,n,!0),n,a)):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var j=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?j.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var w=/\/(java|ecma)script/i,Q=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),Q.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||w.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var x=e.event.add,k=e.event.remove,N=e.event.trigger,T=e.fn.toggle,M=e.fn.live,S=e.fn.die,C="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",A=RegExp("\\b(?:"+C+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,L=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&A.test(t)&&r("AJAX events should be attached to document: "+t),x.call(this,e,L(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){k.call(this,e,L(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return T.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),M?M.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),S?S.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||A.test(e)||r("Global events are undocumented and deprecated"),N.call(this,e,t,n||document,a)},e.each(C.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
libs/controllers/sfsi_socialhelper.php CHANGED
@@ -61,7 +61,10 @@ function sfsi_get_fb($url)
61
  /* get facebook page likes */
62
  function sfsi_get_fb_pagelike($url)
63
  {
64
- $json_string = $this->file_get_contents_curl('http://graph.facebook.com/'.$url);
 
 
 
65
  $json = json_decode($json_string, true);
66
  return isset($json['likes'])? $json['likes']:0;
67
  }
@@ -177,6 +180,7 @@ private function file_get_contents_curl($url)
177
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
178
  curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
179
  curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout);
 
180
  $cont = curl_exec($ch);
181
 
182
  if(curl_error($ch))
@@ -282,7 +286,7 @@ public function sfsi_Googlelike($permalink)
282
  /* create on page twitter follow option */
283
  public function sfsi_twitterFollow($tw_username) {
284
 
285
- $twitter_html = '<a href="https://twitter.com/'.trim($tw_username).'" class="twitter-follow-button" data-show-count="false" >Follow </a>';
286
 
287
  return $twitter_html;
288
  }
61
  /* get facebook page likes */
62
  function sfsi_get_fb_pagelike($url)
63
  {
64
+ $appid = '959456867427268';
65
+ $appsecret = '7cc27f382c47fd5cc3a7203e40d70bf1';
66
+ $json_url ='https://graph.facebook.com/'.$url.'?access_token='.$appid.'|'.$appsecret;
67
+ $json_string = $this->file_get_contents_curl($json_url);
68
  $json = json_decode($json_string, true);
69
  return isset($json['likes'])? $json['likes']:0;
70
  }
180
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
181
  curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
182
  curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout);
183
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
184
  $cont = curl_exec($ch);
185
 
186
  if(curl_error($ch))
286
  /* create on page twitter follow option */
287
  public function sfsi_twitterFollow($tw_username) {
288
 
289
+ $twitter_html = '<a href="https://twitter.com/'.trim($tw_username).'" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow </a>';
290
 
291
  return $twitter_html;
292
  }
libs/controllers/sfsiocns_OnPosts.php CHANGED
@@ -76,7 +76,7 @@ function sfsi_plus_social_buttons_below($content) {
76
  }
77
  if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
78
  {
79
- $icons.="<div class='sf_google' style='float:left;max-width:62px;min-width:35px;'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
80
  }
81
  if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
82
  {
@@ -230,6 +230,26 @@ if($show_count==1)
230
  $sfsi_section1= unserialize(get_option('sfsi_plus_section1_options',false));
231
  $sfsi_section6= unserialize(get_option('sfsi_plus_section6_options',false));
232
  $sfsi_section8= unserialize(get_option('sfsi_plus_section8_options',false));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
233
  if($sfsi_section1['sfsi_plus_facebook_display']=="yes" || $sfsi_section8['sfsi_plus_rectfb'] == "yes")
234
  {
235
  ?>
@@ -271,7 +291,7 @@ if($show_count==1)
271
 
272
  <?php } if($sfsi_section1['sfsi_plus_share_display']=="yes" || $sfsi_section6['sfsi_plus_show_Onposts']=="yes" || $sfsi_section8['sfsi_plus_rectshr'] == "yes") { ?>
273
  <!-- Addthis js -->
274
- <script type="text/javascript" src="https://s7.addthis.com/js/300/addthis_widget.js"></script>
275
  <script type="text/javascript">
276
  var addthis_config = { ui_click: true };
277
  </script>
76
  }
77
  if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
78
  {
79
+ $icons.="<div class='sf_google' style='float:left;max-width:62px;min-width:35px;'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
80
  }
81
  if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
82
  {
230
  $sfsi_section1= unserialize(get_option('sfsi_plus_section1_options',false));
231
  $sfsi_section6= unserialize(get_option('sfsi_plus_section6_options',false));
232
  $sfsi_section8= unserialize(get_option('sfsi_plus_section8_options',false));
233
+ if(!isset($sfsi_section8['sfsi_plus_rectsub']))
234
+ {
235
+ $sfsi_section8['sfsi_plus_rectsub'] = 'no';
236
+ }
237
+ if(!isset($sfsi_section8['sfsi_plus_rectfb']))
238
+ {
239
+ $sfsi_section8['sfsi_plus_rectfb'] = 'yes';
240
+ }
241
+ if(!isset($sfsi_section8['sfsi_plus_rectgp']))
242
+ {
243
+ $sfsi_section8['sfsi_plus_rectgp'] = 'yes';
244
+ }
245
+ if(!isset($sfsi_section8['sfsi_plus_rectshr']))
246
+ {
247
+ $sfsi_section8['sfsi_plus_rectshr'] = 'yes';
248
+ }
249
+ if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
250
+ {
251
+ $sfsi_section8['sfsi_plus_recttwtr'] = 'no';
252
+ }
253
  if($sfsi_section1['sfsi_plus_facebook_display']=="yes" || $sfsi_section8['sfsi_plus_rectfb'] == "yes")
254
  {
255
  ?>
291
 
292
  <?php } if($sfsi_section1['sfsi_plus_share_display']=="yes" || $sfsi_section6['sfsi_plus_show_Onposts']=="yes" || $sfsi_section8['sfsi_plus_rectshr'] == "yes") { ?>
293
  <!-- Addthis js -->
294
+ <script type="text/javascript" src="https://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-558ac14e7f79bff7"></script>
295
  <script type="text/javascript">
296
  var addthis_config = { ui_click: true };
297
  </script>
libs/sfsi_Init_JqueryCss.php CHANGED
@@ -19,10 +19,11 @@ function sfsiplus_plugin_back_enqueue_script()
19
  {
20
  if($_GET['page'] == 'sfsi-plus-options')
21
  {
 
 
 
22
  wp_enqueue_script('jquery');
23
-
24
- wp_register_script('SFSIPLUSMigrate', SFSI_PLUS_PLUGURL . 'js/jquery-migrate-1.1.0.min.js', '', '', true);
25
- wp_enqueue_script("SFSIPLUSMigrate");
26
 
27
  wp_enqueue_script('media-upload');
28
  wp_enqueue_script('thickbox');
@@ -74,9 +75,10 @@ function sfsiplus_plugin_front_enqueue_script()
74
  }
75
 
76
  wp_enqueue_script('jquery');
77
-
78
- wp_register_script('SFSIPLUSMigrate', SFSI_PLUS_PLUGURL . 'js/jquery-migrate-1.1.0.min.js', '','',true);
79
- wp_enqueue_script("SFSIPLUSMigrate");
 
80
 
81
  wp_register_script('SFSIPLUSjquery.ui.min', SFSI_PLUS_PLUGURL . 'js/jquery-ui-min.js', '','',true);
82
  wp_enqueue_script("SFSIPLUSjquery.ui.min");
19
  {
20
  if($_GET['page'] == 'sfsi-plus-options')
21
  {
22
+ //wp_register_script('SFSIMigrate', SFSI_PLUGURL . 'js/jquery-migrate-min.js', '', '', true);
23
+ //wp_enqueue_script("SFSIMigrate");
24
+
25
  wp_enqueue_script('jquery');
26
+ wp_enqueue_script("jquery-migrate");
 
 
27
 
28
  wp_enqueue_script('media-upload');
29
  wp_enqueue_script('thickbox');
75
  }
76
 
77
  wp_enqueue_script('jquery');
78
+ wp_enqueue_script("jquery-migrate");
79
+
80
+ //wp_register_script('SFSIPLUSMigrate', SFSI_PLUS_PLUGURL . 'js/jquery-migrate-min.js', '','',true);
81
+ //wp_enqueue_script("SFSIPLUSMigrate");
82
 
83
  wp_register_script('SFSIPLUSjquery.ui.min', SFSI_PLUS_PLUGURL . 'js/jquery-ui-min.js', '','',true);
84
  wp_enqueue_script("SFSIPLUSjquery.ui.min");
libs/sfsi_install_uninstall.php CHANGED
@@ -401,12 +401,12 @@ function sfsi_plus_rating_msg()
401
  $diff_inrval = round(($datetime2->format('U') - $datetime1->format('U')) / (60*60*24));
402
 
403
  if($diff_inrval >= 30 && get_option('sfsi_plus_RatingDiv')=="no")
404
- {
405
  echo '
406
  <div class="sfwp_fivestar">
407
  <p>We noticed you\'ve been using the Ultimate Social Media PLUS Plugin for more than 30 days. For using it 100% for free, could you please do us a BIG favor and give it a 5-star rating on Wordpress?</p>
408
  <ul class="sfwp_fivestar_ul">
409
- <li><a href="https://wordpress.org/support/view/plugin-reviews/ultimate-social-media-icons" target="_new" title="Ok, you deserved it">Ok, you deserved it</a></li>
410
  <li><a href="javascript:void(0);" class="sfsiHideRating" title="I already did">I already did</a></li>
411
  <li><a href="javascript:void(0);" class="sfsiHideRating" title="No, not good enough">No, not good enough</a></li>
412
  </ul>
401
  $diff_inrval = round(($datetime2->format('U') - $datetime1->format('U')) / (60*60*24));
402
 
403
  if($diff_inrval >= 30 && get_option('sfsi_plus_RatingDiv')=="no")
404
+ {
405
  echo '
406
  <div class="sfwp_fivestar">
407
  <p>We noticed you\'ve been using the Ultimate Social Media PLUS Plugin for more than 30 days. For using it 100% for free, could you please do us a BIG favor and give it a 5-star rating on Wordpress?</p>
408
  <ul class="sfwp_fivestar_ul">
409
+ <li><a href="https://wordpress.org/support/view/plugin-reviews/ultimate-social-media-plus" target="_new" title="Ok, you deserved it">Ok, you deserved it</a></li>
410
  <li><a href="javascript:void(0);" class="sfsiHideRating" title="I already did">I already did</a></li>
411
  <li><a href="javascript:void(0);" class="sfsiHideRating" title="No, not good enough">No, not good enough</a></li>
412
  </ul>
libs/sfsi_widget.php CHANGED
@@ -113,7 +113,7 @@ function sfsi_plus_check_visiblity($isFloter=0)
113
  if(jQuery(this).attr("data-position") == "widget")
114
  {
115
  var wdgt_hght = jQuery(this).children(".sfsiplus_norm_row.sfsi_plus_wDiv").height();
116
- var title_hght = jQuery(this).children(".widget-title").height();
117
  var totl_hght = parseInt( title_hght ) + parseInt( wdgt_hght );
118
  jQuery(this).parent(".widget.sfsi_plus").css("min-height", totl_hght+"px");
119
  }
113
  if(jQuery(this).attr("data-position") == "widget")
114
  {
115
  var wdgt_hght = jQuery(this).children(".sfsiplus_norm_row.sfsi_plus_wDiv").height();
116
+ var title_hght = jQuery(this).parent(".widget.sfsi_plus").children(".widget-title").height();
117
  var totl_hght = parseInt( title_hght ) + parseInt( wdgt_hght );
118
  jQuery(this).parent(".widget.sfsi_plus").css("min-height", totl_hght+"px");
119
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=seb.r
4
  Tags: social media, social media icons, sidebar, admin, icons, sharing icons, social media widget, social icon widget, socialmedia, fb widget, facebook, facebook icon, facebook button, facebook share button, facebook like button, twitter, twitter icon, twitter button, google+, google, google plus, google plus icon, google plus button, pinterest, pinterest icon, pinterest button, instagram, Instagram icon, Instagram button, youtube, youtube icon, youtube button, linkedin, linkedin icon, linkedin button, subscription popup, pop-up, ultimate, email, rss, rss2email, subscription icons, subscription icon, social media pop-up, free, newsletter, email newsletter, follow, follow me, counter, feed, feeds, filter, links, link, media, plugin, social, widget, tweet button, email button, email icon, socialize, facebook like, facebook recommend
5
  Requires at least: 3.0
6
  Tested up to: 4.2.2
7
- Stable tag: 1.4
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -73,6 +73,14 @@ Please check out the FAQ on http://ultimatelysocial.com
73
 
74
  == Changelog ==
75
 
 
 
 
 
 
 
 
 
76
  = 1.4 =
77
  * New follow-icons added
78
  * More "rectangle" icons added before/after posts
@@ -113,5 +121,5 @@ Please check out the FAQ on http://ultimatelysocial.com
113
 
114
  == Upgrade Notice ==
115
 
116
- = 1.4 =
117
- Main change: better "follow"-icons added to increase conversions
4
  Tags: social media, social media icons, sidebar, admin, icons, sharing icons, social media widget, social icon widget, socialmedia, fb widget, facebook, facebook icon, facebook button, facebook share button, facebook like button, twitter, twitter icon, twitter button, google+, google, google plus, google plus icon, google plus button, pinterest, pinterest icon, pinterest button, instagram, Instagram icon, Instagram button, youtube, youtube icon, youtube button, linkedin, linkedin icon, linkedin button, subscription popup, pop-up, ultimate, email, rss, rss2email, subscription icons, subscription icon, social media pop-up, free, newsletter, email newsletter, follow, follow me, counter, feed, feeds, filter, links, link, media, plugin, social, widget, tweet button, email button, email icon, socialize, facebook like, facebook recommend
5
  Requires at least: 3.0
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.5
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
73
 
74
  == Changelog ==
75
 
76
+ = 1.5 =
77
+ * jQuery issues fixed
78
+ * Vulnerability issues fixed
79
+ * Twitter-button didn't get displayed in full sometimes, this is fixed now
80
+ * CSS issues (occurred on some templates) fixed
81
+ * Facebook updated API (so counts didn't get displayed correctly anymore), we updated the plugin accordingly
82
+ * Sometimes error messages appeared on the front end, this is fixed now
83
+
84
  = 1.4 =
85
  * New follow-icons added
86
  * More "rectangle" icons added before/after posts
121
 
122
  == Upgrade Notice ==
123
 
124
+ = 1.5 =
125
+ Several issues fixed (vulnerability and jQuery) - please update
ultimate_social_media_icons.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://ultimatelysocial.com
5
  Description: The best social media plugin on the market. And 100% FREE. Allows you to add social media & share icons to your blog (esp. Facebook, Twitter, Email, RSS, Pinterest, Instagram, Google+, LinkedIn, Share-button). It offers a wide range of design options and other features.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
- Version: 1.4
9
  License: GPLv2
10
  */
11
 
5
  Description: The best social media plugin on the market. And 100% FREE. Allows you to add social media & share icons to your blog (esp. Facebook, Twitter, Email, RSS, Pinterest, Instagram, Google+, LinkedIn, Share-button). It offers a wide range of design options and other features.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
+ Version: 1.5
9
  License: GPLv2
10
  */
11
 
views/sfsi_option_view2.php CHANGED
@@ -29,17 +29,20 @@
29
  <div class="sfsiplusicnsdvwrp">
30
  <input name="sfsi_plus_rss_icons" <?php echo ($option2['sfsi_plus_rss_icons']=='email') ? 'checked="true"' : '' ;?> type="radio" value="email" class="styled" /><span class="email_icn"></span>
31
  </div>
32
- <label>Email-icon</label></li>
 
33
  <li>
34
  <div class="sfsiplusicnsdvwrp">
35
  <input name="sfsi_plus_rss_icons" <?php echo ($option2['sfsi_plus_rss_icons']=='subscribe') ? 'checked="true"' : '' ;?> type="radio" value="subscribe" class="styled" /><span class="subscribe_icn"></span>
36
  </div>
37
- <label>Follow icon<span class="sfplsdesc"> (increases sign-ups)</span></label></li>
 
38
  <li>
39
  <div class="sfsiplusicnsdvwrp">
40
  <input name="sfsi_plus_rss_icons" <?php echo ($option2['sfsi_plus_rss_icons']=='sfsi') ? 'checked="true"' : '' ;?> type="radio" value="sfsi" class="styled" /><span class="sf_arow"></span>
41
  </div>
42
- <label>SpecificFeeds icon<span class="sfplsdesc"> (provider of the service)</span></label></li>
 
43
  </ul>
44
  </div>
45
  </div>
29
  <div class="sfsiplusicnsdvwrp">
30
  <input name="sfsi_plus_rss_icons" <?php echo ($option2['sfsi_plus_rss_icons']=='email') ? 'checked="true"' : '' ;?> type="radio" value="email" class="styled" /><span class="email_icn"></span>
31
  </div>
32
+ <label>Email-icon</label>
33
+ </li>
34
  <li>
35
  <div class="sfsiplusicnsdvwrp">
36
  <input name="sfsi_plus_rss_icons" <?php echo ($option2['sfsi_plus_rss_icons']=='subscribe') ? 'checked="true"' : '' ;?> type="radio" value="subscribe" class="styled" /><span class="subscribe_icn"></span>
37
  </div>
38
+ <label>Follow icon<span class="sfplsdesc"> (increases sign-ups)</span></label>
39
+ </li>
40
  <li>
41
  <div class="sfsiplusicnsdvwrp">
42
  <input name="sfsi_plus_rss_icons" <?php echo ($option2['sfsi_plus_rss_icons']=='sfsi') ? 'checked="true"' : '' ;?> type="radio" value="sfsi" class="styled" /><span class="sf_arow"></span>
43
  </div>
44
+ <label>SpecificFeeds icon<span class="sfplsdesc"> (provider of the service)</span></label>
45
+ </li>
46
  </ul>
47
  </div>
48
  </div>