Social Media Share Buttons & Social Sharing Icons - Version 2.7.2

Version Description

  • Check PHP 8.1 compatibility
  • Fixed: Widget loading issue Admin > Widgets
  • Fixed: Some minor fixes
Download this release

Release Info

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

Code changes from version 2.7.1 to 2.7.2

js/custom-admin.js CHANGED
@@ -1924,13 +1924,18 @@ function showErrorSuc(s, i, e) {
1924
  }
1925
 
1926
  function beForeLoad() {
1927
- SFSI(".loader-img").show(), SFSI(".save_button >a").html("Saving..."), SFSI(".save_button >a").css("pointer-events", "none");
 
 
1928
  }
1929
 
1930
  function afterLoad() {
1931
- SFSI("input").removeClass("inputError"), SFSI(".save_button >a").html("Save"), SFSI(".tab10>div.save_button >a").html("Save All Settings"),
1932
- SFSI(".save_button >a").css("pointer-events", "auto"), SFSI(".save_button >a").removeAttr("onclick"),
1933
- SFSI(".loader-img").hide();
 
 
 
1934
  }
1935
 
1936
  function sfsi_make_popBox() {
1924
  }
1925
 
1926
  function beForeLoad() {
1927
+ SFSI( ".loader-img" ).show(),
1928
+ SFSI( ".save_button >a" ).html( "Saving..." ),
1929
+ SFSI( ".save_button >a" ).css( "pointer-events", "none" );
1930
  }
1931
 
1932
  function afterLoad() {
1933
+ SFSI( "input" ).removeClass( "inputError" ),
1934
+ SFSI( ".save_button >a" ).html( "Save" ),
1935
+ SFSI( ".tab10 div.save_button > a" ).html( "Save All Settings" ),
1936
+ SFSI( ".save_button >a" ).css( "pointer-events", "auto" ),
1937
+ SFSI( ".save_button >a" ).removeAttr( "onclick" ),
1938
+ SFSI( ".loader-img" ).hide();
1939
  }
1940
 
1941
  function sfsi_make_popBox() {
libs/sfsi_install_uninstall.php CHANGED
@@ -43,7 +43,7 @@ function sfsi_update_plugin()
43
  }
44
 
45
  //Install version
46
- update_option("sfsi_pluginVersion", "2.71");
47
 
48
  if (!get_option('sfsi_serverphpVersionnotification')) {
49
  add_option("sfsi_serverphpVersionnotification", "yes");
43
  }
44
 
45
  //Install version
46
+ update_option("sfsi_pluginVersion", "2.72");
47
 
48
  if (!get_option('sfsi_serverphpVersionnotification')) {
49
  add_option("sfsi_serverphpVersionnotification", "yes");
libs/sfsi_widget.php CHANGED
@@ -53,7 +53,7 @@ class Sfsi_Widget extends WP_Widget
53
  <div style="clear: both;"></div>
54
  </div>
55
  <?php
56
- if (is_active_widget(false, false, $this->id_base, true)) { }
57
  echo $after_widget;
58
  }
59
 
@@ -74,17 +74,23 @@ class Sfsi_Widget extends WP_Widget
74
  /* Set up some default widget settings. */
75
  function form($instance)
76
  {
77
- $defaults = array('title' => "");
78
  $instance = wp_parse_args((array) $instance, $defaults);
 
79
  if (isset($instance['showf']) && !empty($instance['showf'])) {
80
  if ($instance['showf'] == 0 && empty($instance['title'])) {
81
  $instance['title'] = 'Please follow & like us :)';
 
82
  } else {
83
  $instance['title'];
 
84
  }
85
  } else {
86
  $instance['title'] = 'Please follow & like us :)';
 
87
  }
 
 
88
  ?>
89
  <p>
90
  <label for="<?php echo $this->get_field_id('title'); ?>">Title</label>
@@ -1189,8 +1195,7 @@ class Sfsi_Widget extends WP_Widget
1189
 
1190
  $tele_url = "https://t.me/" . $tg_username;
1191
  $url = $tele_url . "?&text=" . urlencode($tg_msg);
1192
- // var_dump($url);
1193
- // die();
1194
  // file_get_contents($url);
1195
  } else {
1196
  $url = "#";
@@ -1243,9 +1248,7 @@ class Sfsi_Widget extends WP_Widget
1243
  && "yes" == $sfsi_section2_options['sfsi_vk_page']
1244
  && isset($sfsi_section2_options['sfsi_vk_pageURL']) && !empty($sfsi_section2_options['sfsi_vk_pageURL'])
1245
  ) {
1246
-
1247
  $visitUrl = $sfsi_section2_options['sfsi_vk_pageURL'];
1248
-
1249
  $hoverdiv .= "<div class='icon1'><a href='" . $visitUrl . "' " . sfsi_checkNewWindow($visitUrl) . "><img class='sfsi_premium_wicon' nopin=nopin alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' /></a></div>";
1250
  }
1251
 
@@ -1253,7 +1256,6 @@ class Sfsi_Widget extends WP_Widget
1253
  isset($sfsi_section2_options['sfsi_vk_share']) && !empty($sfsi_section2_options['sfsi_vk_share'])
1254
  && "yes" == $sfsi_section2_options['sfsi_vk_share']
1255
  ) {
1256
-
1257
  $hoverdiv .= "<div class='icon2'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img class='sfsi_premium_wicon' nopin=nopin alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $share_icon . "' /></a></div>";
1258
  }
1259
 
@@ -1265,21 +1267,20 @@ class Sfsi_Widget extends WP_Widget
1265
  }
1266
  }
1267
 
1268
-
1269
-
1270
  $cDisplay = isset($sfsi_section4_options['sfsi_vk_countsDisplay']) && !empty($sfsi_section4_options['sfsi_vk_countsDisplay']) ? $sfsi_section4_options['sfsi_vk_countsDisplay'] : false;
1271
 
1272
  $Displayc = isset($sfsi_section4_options['sfsi_display_counts']) && !empty($sfsi_section4_options['sfsi_display_counts']) ? $sfsi_section4_options['sfsi_display_counts'] : false;
1273
  $display_round_counts = isset($sfsi_section4_options['sfsi_round_counts']) && !empty($sfsi_section4_options['sfsi_round_counts']) ? $sfsi_section4_options['sfsi_round_counts'] : false;
 
1274
  /* fecth no of counts if active in admin section */
1275
- if ($cDisplay == "yes" && $Displayc == "yes" && $display_round_counts == "yes") {
1276
- $counts = $socialObj->format_num($sfsi_section4_options['sfsi_vk_manualCounts']);
1277
  }
1278
 
1279
  //Custom Skin Support {Monad}
1280
- if ($active_theme == 'custom_support') {
1281
- if (get_option("vk_skin")) {
1282
- $icon = get_option("vk_skin");
1283
  } else {
1284
  $icons_baseUrl = SFSI_PLUGURL . "images/icons_theme/default/";
1285
  $icon = $icons_baseUrl . "default_vk.png";
@@ -1287,7 +1288,7 @@ class Sfsi_Widget extends WP_Widget
1287
  } else {
1288
  $icon = $icons_baseUrl . $active_theme . "_vk.png";
1289
  }
1290
- if ($active_theme == "glossy") {
1291
  $sfsi_new_icons = "yes";
1292
  }
1293
 
@@ -1305,12 +1306,10 @@ class Sfsi_Widget extends WP_Widget
1305
  $toolClass = "ok_tool_bdr";
1306
  $arrow_class = "bot_pintst_arow";
1307
 
1308
- $url = (isset($sfsi_section2_options['sfsi_ok_pageURL'])) ? $sfsi_section2_options['sfsi_ok_pageURL'] : '';
1309
 
1310
- // $ok_user_name = isset($sfsi_section4_options['sfsi_ok_User']) && !empty($sfsi_section4_options['sfsi_ok_User']) ? $sfsi_section4_options['sfsi_ok_User'] : false;
1311
-
1312
- //Giving alternative text to image
1313
- if (isset($sfsi_section5_options['sfsi_ok_MouseOverText']) && !empty($sfsi_section5_options['sfsi_ok_MouseOverText'])) {
1314
  $alt_text = $sfsi_section5_options['sfsi_ok_MouseOverText'];
1315
  } else {
1316
  $alt_text = "";
@@ -1391,7 +1390,7 @@ class Sfsi_Widget extends WP_Widget
1391
  } else {
1392
  $icon = $icons_baseUrl . $active_theme . "_weibo.png";
1393
  }
1394
- if ($active_theme == "glossy") {
1395
  $sfsi_new_icons = "yes";
1396
  }
1397
 
@@ -1421,13 +1420,14 @@ class Sfsi_Widget extends WP_Widget
1421
 
1422
  $hoverdiv = "";
1423
 
1424
- $cDisplay = isset($sfsi_section4_options['sfsi_wechat_countsDisplay']) && !empty($sfsi_section4_options['sfsi_wechat_countsDisplay']) ? $sfsi_section4_options['sfsi_wechat_countsDisplay'] : false;
 
 
 
1425
 
1426
- $Displayc = isset($sfsi_section4_options['sfsi_display_counts']) && !empty($sfsi_section4_options['sfsi_display_counts']) ? $sfsi_section4_options['sfsi_display_counts'] : false;
1427
- $display_round_counts = isset($sfsi_section4_options['sfsi_round_counts']) && !empty($sfsi_section4_options['sfsi_round_counts']) ? $sfsi_section4_options['sfsi_round_counts'] : false;
1428
  /* fecth no of counts if active in admin section */
1429
- if ($cDisplay == "yes" && $Displayc == "yes" && $display_round_counts == "yes") {
1430
- $counts = $socialObj->format_num($sfsi_section4_options['sfsi_wechat_manualCounts']);
1431
  }
1432
  $url = "weixin://dl/chat";
1433
  if (
@@ -1479,19 +1479,20 @@ class Sfsi_Widget extends WP_Widget
1479
  }
1480
  $hoverSHow = 0;
1481
  }
 
1482
  //Custom Skin Support {Monad}
1483
- if ($active_theme == 'custom_support') {
1484
- if (get_option("wechat_skin")) {
1485
- $icon = get_option("wechat_skin");
1486
  } else {
1487
-
1488
  $icons_baseUrl = SFSI_PLUGURL . "images/icons_theme/default/";
1489
  $icon = $icons_baseUrl . "default_wechat.png";
1490
  }
1491
  } else {
1492
  $icon = $icons_baseUrl . $active_theme . "_wechat.png";
1493
  }
1494
- if ($active_theme == "glossy") {
 
1495
  $sfsi_new_icons = "yes";
1496
  }
1497
 
@@ -1507,31 +1508,33 @@ class Sfsi_Widget extends WP_Widget
1507
  break;
1508
 
1509
  case "whatsapp":
1510
- if (!is_null($post)) {
1511
- $sfsi_current_url = get_permalink($post->ID);
1512
  } else {
1513
  global $wp;
1514
- $sfsi_current_url = home_url($wp->request);
1515
  }
1516
- if (isset($sfsi_section5_options['sfsi_whatsapp_MouseOverText']) && !empty($sfsi_section5_options['sfsi_whatsapp_MouseOverText'])) {
 
1517
  $alt_text = $sfsi_section5_options['sfsi_whatsapp_MouseOverText'];
1518
  } else {
1519
  $alt_text = "";
1520
  }
1521
 
1522
  if (
1523
- isset($sfsi_section4_options['sfsi_whatsapp_countsDisplay']) &&
1524
  "yes" == $sfsi_section4_options['sfsi_whatsapp_countsDisplay'] &&
1525
  "yes" == $sfsi_section4_options['sfsi_display_counts'] &&
1526
  $sfsi_section4_options['sfsi_round_counts'] == "yes"
1527
  ) {
1528
- $counts = $socialObj->format_num($sfsi_section4_options['sfsi_whatsapp_manualCounts']);
1529
  }
1530
  $url = 'https://api.whatsapp.com/send?text=' . $sfsi_current_url;
1531
- //Custom Skin Support {Monad}
1532
- if ($active_theme == 'custom_support') {
1533
- if (get_option("facebook_skin")) {
1534
- $icon = get_option("facebook_skin");
 
1535
  } else {
1536
  $active_theme = 'default';
1537
  $icons_baseUrl = SFSI_PLUGURL . "images/icons_theme/default/";
@@ -1590,6 +1593,7 @@ class Sfsi_Widget extends WP_Widget
1590
  $totwith = $width + $icons_space;
1591
  }
1592
  $twt_margin = $totwith / 2;
 
1593
  /*check for icons to display */
1594
  $url = isset($sfsi_section2_options['sfsi_linkedin_pageURL']) && !empty($sfsi_section2_options['sfsi_linkedin_pageURL']) ? $sfsi_section2_options['sfsi_linkedin_pageURL'] : '';
1595
  if (isset($sfsi_section5_options['sfsi_linkedIn_MouseOverText']) && !empty($sfsi_section5_options['sfsi_linkedIn_MouseOverText'])) {
53
  <div style="clear: both;"></div>
54
  </div>
55
  <?php
56
+ if (is_active_widget(false, false, $this->id_base, true)) { }
57
  echo $after_widget;
58
  }
59
 
74
  /* Set up some default widget settings. */
75
  function form($instance)
76
  {
77
+ $defaults = array( 'showf' => 1, 'title' => '' );
78
  $instance = wp_parse_args((array) $instance, $defaults);
79
+
80
  if (isset($instance['showf']) && !empty($instance['showf'])) {
81
  if ($instance['showf'] == 0 && empty($instance['title'])) {
82
  $instance['title'] = 'Please follow & like us :)';
83
+ $instance['showf'] = 1;
84
  } else {
85
  $instance['title'];
86
+ $instance['showf'] = 0;
87
  }
88
  } else {
89
  $instance['title'] = 'Please follow & like us :)';
90
+ $instance['showf'] = 0;
91
  }
92
+
93
+
94
  ?>
95
  <p>
96
  <label for="<?php echo $this->get_field_id('title'); ?>">Title</label>
1195
 
1196
  $tele_url = "https://t.me/" . $tg_username;
1197
  $url = $tele_url . "?&text=" . urlencode($tg_msg);
1198
+
 
1199
  // file_get_contents($url);
1200
  } else {
1201
  $url = "#";
1248
  && "yes" == $sfsi_section2_options['sfsi_vk_page']
1249
  && isset($sfsi_section2_options['sfsi_vk_pageURL']) && !empty($sfsi_section2_options['sfsi_vk_pageURL'])
1250
  ) {
 
1251
  $visitUrl = $sfsi_section2_options['sfsi_vk_pageURL'];
 
1252
  $hoverdiv .= "<div class='icon1'><a href='" . $visitUrl . "' " . sfsi_checkNewWindow($visitUrl) . "><img class='sfsi_premium_wicon' nopin=nopin alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' /></a></div>";
1253
  }
1254
 
1256
  isset($sfsi_section2_options['sfsi_vk_share']) && !empty($sfsi_section2_options['sfsi_vk_share'])
1257
  && "yes" == $sfsi_section2_options['sfsi_vk_share']
1258
  ) {
 
1259
  $hoverdiv .= "<div class='icon2'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img class='sfsi_premium_wicon' nopin=nopin alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $share_icon . "' /></a></div>";
1260
  }
1261
 
1267
  }
1268
  }
1269
 
 
 
1270
  $cDisplay = isset($sfsi_section4_options['sfsi_vk_countsDisplay']) && !empty($sfsi_section4_options['sfsi_vk_countsDisplay']) ? $sfsi_section4_options['sfsi_vk_countsDisplay'] : false;
1271
 
1272
  $Displayc = isset($sfsi_section4_options['sfsi_display_counts']) && !empty($sfsi_section4_options['sfsi_display_counts']) ? $sfsi_section4_options['sfsi_display_counts'] : false;
1273
  $display_round_counts = isset($sfsi_section4_options['sfsi_round_counts']) && !empty($sfsi_section4_options['sfsi_round_counts']) ? $sfsi_section4_options['sfsi_round_counts'] : false;
1274
+
1275
  /* fecth no of counts if active in admin section */
1276
+ if ( $cDisplay == "yes" && $Displayc == "yes" && $display_round_counts == "yes" ) {
1277
+ $counts = $socialObj->format_num( $sfsi_section4_options['sfsi_vk_manualCounts'] );
1278
  }
1279
 
1280
  //Custom Skin Support {Monad}
1281
+ if ( $active_theme == 'custom_support' ) {
1282
+ if ( get_option( "vk_skin" ) ) {
1283
+ $icon = get_option( "vk_skin" );
1284
  } else {
1285
  $icons_baseUrl = SFSI_PLUGURL . "images/icons_theme/default/";
1286
  $icon = $icons_baseUrl . "default_vk.png";
1288
  } else {
1289
  $icon = $icons_baseUrl . $active_theme . "_vk.png";
1290
  }
1291
+ if ( $active_theme == "glossy" ) {
1292
  $sfsi_new_icons = "yes";
1293
  }
1294
 
1306
  $toolClass = "ok_tool_bdr";
1307
  $arrow_class = "bot_pintst_arow";
1308
 
1309
+ $url = isset( $sfsi_section2_options['sfsi_ok_pageURL'] ) ? $sfsi_section2_options['sfsi_ok_pageURL'] : '';
1310
 
1311
+ /* Giving alternative text to image */
1312
+ if ( isset( $sfsi_section5_options['sfsi_ok_MouseOverText'] ) && !empty( $sfsi_section5_options['sfsi_ok_MouseOverText'] ) ) {
 
 
1313
  $alt_text = $sfsi_section5_options['sfsi_ok_MouseOverText'];
1314
  } else {
1315
  $alt_text = "";
1390
  } else {
1391
  $icon = $icons_baseUrl . $active_theme . "_weibo.png";
1392
  }
1393
+ if ( $active_theme == "glossy" ) {
1394
  $sfsi_new_icons = "yes";
1395
  }
1396
 
1420
 
1421
  $hoverdiv = "";
1422
 
1423
+ $cDisplay = isset( $sfsi_section4_options['sfsi_wechat_countsDisplay'] ) && !empty( $sfsi_section4_options['sfsi_wechat_countsDisplay'] ) ? $sfsi_section4_options['sfsi_wechat_countsDisplay'] : false;
1424
+
1425
+ $Displayc = isset( $sfsi_section4_options['sfsi_display_counts'] ) && !empty( $sfsi_section4_options['sfsi_display_counts'] ) ? $sfsi_section4_options['sfsi_display_counts'] : false;
1426
+ $display_round_counts = isset( $sfsi_section4_options['sfsi_round_counts'] ) && !empty( $sfsi_section4_options['sfsi_round_counts'] ) ? $sfsi_section4_options['sfsi_round_counts'] : false;
1427
 
 
 
1428
  /* fecth no of counts if active in admin section */
1429
+ if ( $cDisplay == "yes" && $Displayc == "yes" && $display_round_counts == "yes" ) {
1430
+ $counts = $socialObj->format_num( $sfsi_section4_options['sfsi_wechat_manualCounts'] );
1431
  }
1432
  $url = "weixin://dl/chat";
1433
  if (
1479
  }
1480
  $hoverSHow = 0;
1481
  }
1482
+
1483
  //Custom Skin Support {Monad}
1484
+ if ( $active_theme == 'custom_support' ) {
1485
+ if ( get_option( "wechat_skin" ) ) {
1486
+ $icon = get_option( "wechat_skin" );
1487
  } else {
 
1488
  $icons_baseUrl = SFSI_PLUGURL . "images/icons_theme/default/";
1489
  $icon = $icons_baseUrl . "default_wechat.png";
1490
  }
1491
  } else {
1492
  $icon = $icons_baseUrl . $active_theme . "_wechat.png";
1493
  }
1494
+
1495
+ if ( $active_theme == "glossy" ) {
1496
  $sfsi_new_icons = "yes";
1497
  }
1498
 
1508
  break;
1509
 
1510
  case "whatsapp":
1511
+ if ( !is_null( $post ) ) {
1512
+ $sfsi_current_url = get_permalink( $post->ID );
1513
  } else {
1514
  global $wp;
1515
+ $sfsi_current_url = home_url( $wp->request );
1516
  }
1517
+
1518
+ if ( isset( $sfsi_section5_options['sfsi_whatsapp_MouseOverText'] ) && !empty( $sfsi_section5_options['sfsi_whatsapp_MouseOverText'] ) ) {
1519
  $alt_text = $sfsi_section5_options['sfsi_whatsapp_MouseOverText'];
1520
  } else {
1521
  $alt_text = "";
1522
  }
1523
 
1524
  if (
1525
+ isset( $sfsi_section4_options['sfsi_whatsapp_countsDisplay'] ) &&
1526
  "yes" == $sfsi_section4_options['sfsi_whatsapp_countsDisplay'] &&
1527
  "yes" == $sfsi_section4_options['sfsi_display_counts'] &&
1528
  $sfsi_section4_options['sfsi_round_counts'] == "yes"
1529
  ) {
1530
+ $counts = $socialObj->format_num( $sfsi_section4_options['sfsi_whatsapp_manualCounts'] );
1531
  }
1532
  $url = 'https://api.whatsapp.com/send?text=' . $sfsi_current_url;
1533
+
1534
+ /* Custom Skin Support {Monad} */
1535
+ if ( $active_theme == 'custom_support' ) {
1536
+ if ( get_option( "facebook_skin" ) ) {
1537
+ $icon = get_option( "facebook_skin" );
1538
  } else {
1539
  $active_theme = 'default';
1540
  $icons_baseUrl = SFSI_PLUGURL . "images/icons_theme/default/";
1593
  $totwith = $width + $icons_space;
1594
  }
1595
  $twt_margin = $totwith / 2;
1596
+
1597
  /*check for icons to display */
1598
  $url = isset($sfsi_section2_options['sfsi_linkedin_pageURL']) && !empty($sfsi_section2_options['sfsi_linkedin_pageURL']) ? $sfsi_section2_options['sfsi_linkedin_pageURL'] : '';
1599
  if (isset($sfsi_section5_options['sfsi_linkedIn_MouseOverText']) && !empty($sfsi_section5_options['sfsi_linkedIn_MouseOverText'])) {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: socialdude, socialtech
3
  Tags: share, pop up, popup, share icons, share buttons, social media, social, popups, sharing icons, sharing buttons, social share, sharing
4
  Requires at least: 3.5
5
  Tested up to: 5.9
6
- Stable tag: 2.7.1
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -276,6 +276,11 @@ You cannot use the same plugin twice, however you can install both the USM as we
276
 
277
 
278
  == Changelog ==
 
 
 
 
 
279
  = 2.7.1 =
280
  * Update: WordPress 5.9 compatibility
281
  * Fixed: Fix new version update string offset notice.
@@ -1025,5 +1030,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
1025
 
1026
  == Upgrade Notice ==
1027
 
1028
- = 2.7.1 =
1029
  Please upgrade
3
  Tags: share, pop up, popup, share icons, share buttons, social media, social, popups, sharing icons, sharing buttons, social share, sharing
4
  Requires at least: 3.5
5
  Tested up to: 5.9
6
+ Stable tag: 2.7.2
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
276
 
277
 
278
  == Changelog ==
279
+ = 2.7.2 =
280
+ * Check PHP 8.1 compatibility
281
+ * Fixed: Widget loading issue Admin > Widgets
282
+ * Fixed: Some minor fixes
283
+
284
  = 2.7.1 =
285
  * Update: WordPress 5.9 compatibility
286
  * Fixed: Fix new version update string offset notice.
1030
 
1031
  == Upgrade Notice ==
1032
 
1033
+ = 2.7.2 =
1034
  Please upgrade
ultimate_social_media_icons.php CHANGED
@@ -7,7 +7,7 @@ Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
  Text Domain: ultimate-social-media-icons
9
  Domain Path: /languages
10
- Version: 2.7.1
11
  License: GPLv2 or later
12
  */
13
  require_once 'analyst/main.php';
@@ -23,7 +23,7 @@ sfsi_error_reporting();
23
 
24
  global $wpdb;
25
  /* define the Root for URL and Document */
26
- define( 'SFSI_PLUGIN_VERSION', '2.7.1' );
27
  define( 'SFSI_DOCROOT', dirname( __FILE__ ) );
28
 
29
  define( 'SFSI_PLUGURL', plugin_dir_url( __FILE__ ) );
@@ -89,7 +89,7 @@ register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
89
 
90
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
91
 
92
- if (!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.71) {
93
  add_action( 'init', 'sfsi_update_plugin' );
94
  }
95
  /* redirect setting page hook */
7
  Author URI: http://ultimatelysocial.com
8
  Text Domain: ultimate-social-media-icons
9
  Domain Path: /languages
10
+ Version: 2.7.2
11
  License: GPLv2 or later
12
  */
13
  require_once 'analyst/main.php';
23
 
24
  global $wpdb;
25
  /* define the Root for URL and Document */
26
+ define( 'SFSI_PLUGIN_VERSION', '2.7.2' );
27
  define( 'SFSI_DOCROOT', dirname( __FILE__ ) );
28
 
29
  define( 'SFSI_PLUGURL', plugin_dir_url( __FILE__ ) );
89
 
90
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
91
 
92
+ if (!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.72) {
93
  add_action( 'init', 'sfsi_update_plugin' );
94
  }
95
  /* redirect setting page hook */