Social Media Feather | social media sharing - Version 2.0.3

Version Description

  • Test with WordPress 5.8.
Download this release

Release Info

Developer socialmediafeather
Plugin Icon 128x128 Social Media Feather | social media sharing
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

readme.txt CHANGED
@@ -1,9 +1,10 @@
1
  === Social Media Feather | social media sharing ===
2
- Contributors: socialmediafeather, scottstorebloom
3
  Tags: social media, social sharing, social buttons, Facebook, Share, Like, twitter, google, Reddit, youtube, instagram, pinterest, social media buttons, button, shortcode, sidebar, sharing buttons, follow buttons
4
  Requires at least: 3.1
5
- Tested up to: 5.7
6
- Stable tag: 2.0.2
 
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -191,6 +192,9 @@ margin-left: 10px;
191
 
192
  == Changelog ==
193
 
 
 
 
194
  = 2.0.2 =
195
  * New WP version test.
196
 
1
  === Social Media Feather | social media sharing ===
2
+ Contributors: socialmediafeather, scottstorebloom, scottmweaver
3
  Tags: social media, social sharing, social buttons, Facebook, Share, Like, twitter, google, Reddit, youtube, instagram, pinterest, social media buttons, button, shortcode, sidebar, sharing buttons, follow buttons
4
  Requires at least: 3.1
5
+ Tested up to: 5.8
6
+ Stable tag: 2.0.3
7
+ Version: 2.0.3
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
192
 
193
  == Changelog ==
194
 
195
+ = 2.0.3 =
196
+ * Test with WordPress 5.8.
197
+
198
  = 2.0.2 =
199
  * New WP version test.
200
 
social-media-feather.php CHANGED
@@ -4,11 +4,11 @@ Plugin Name: Social Media Feather
4
  Plugin URI: http://socialmediafeather.com/
5
  Description: Super lightweight social media plugin to add nice and effective social media sharing and following buttons and icons anywhere on your site quickly and easily
6
  Author: socialmediafeather
7
- Version: 2.0.2
8
  Author URI: http://socialmediafeather.com/
9
  */
10
 
11
- define( 'SYNVED_VERSION', '2.0.2' );
12
 
13
  if (!function_exists('synved_wp_social_load'))
14
  {
@@ -61,5 +61,3 @@ if (!function_exists('synved_wp_social_load'))
61
  synved_plugout_module_path_add('synved-connect', 'addon', dirname((defined('SYNVED_SOCIAL_INCLUDE_PATH') ? SYNVED_SOCIAL_INCLUDE_PATH : __FILE__)) . '/synved-connect/addons');
62
  synved_plugout_module_path_add('synved-option', 'addon', dirname((defined('SYNVED_SOCIAL_INCLUDE_PATH') ? SYNVED_SOCIAL_INCLUDE_PATH : __FILE__)) . '/synved-option/addons');
63
  synved_plugout_module_path_add('synved-social', 'addon', dirname((defined('SYNVED_SOCIAL_INCLUDE_PATH') ? SYNVED_SOCIAL_INCLUDE_PATH : __FILE__)) . '/synved-social/addons');
64
-
65
- ?>
4
  Plugin URI: http://socialmediafeather.com/
5
  Description: Super lightweight social media plugin to add nice and effective social media sharing and following buttons and icons anywhere on your site quickly and easily
6
  Author: socialmediafeather
7
+ Version: 2.0.3
8
  Author URI: http://socialmediafeather.com/
9
  */
10
 
11
+ define('SYNVED_VERSION', '2.0.3');
12
 
13
  if (!function_exists('synved_wp_social_load'))
14
  {
61
  synved_plugout_module_path_add('synved-connect', 'addon', dirname((defined('SYNVED_SOCIAL_INCLUDE_PATH') ? SYNVED_SOCIAL_INCLUDE_PATH : __FILE__)) . '/synved-connect/addons');
62
  synved_plugout_module_path_add('synved-option', 'addon', dirname((defined('SYNVED_SOCIAL_INCLUDE_PATH') ? SYNVED_SOCIAL_INCLUDE_PATH : __FILE__)) . '/synved-option/addons');
63
  synved_plugout_module_path_add('synved-social', 'addon', dirname((defined('SYNVED_SOCIAL_INCLUDE_PATH') ? SYNVED_SOCIAL_INCLUDE_PATH : __FILE__)) . '/synved-social/addons');
 
 
synved-connect/synved-connect-addon.php CHANGED
@@ -1,3 +1,2 @@
1
  <?php
2
-
3
- ?>
1
  <?php
2
+ // Silence is golden.
 
synved-connect/synved-connect-component.php CHANGED
@@ -19,5 +19,3 @@ function synved_connect_component_sponsor($component)
19
  {
20
  $sponsor = get_option('synved_connect_sponsor');
21
  }
22
-
23
- ?>
19
  {
20
  $sponsor = get_option('synved_connect_sponsor');
21
  }
 
 
synved-connect/synved-connect-credit.php CHANGED
@@ -56,5 +56,3 @@ function synved_connect_credit_content(array $credit_item = null)
56
  {
57
  return synved_connect_sponsor_content($credit_item);
58
  }
59
-
60
- ?>
56
  {
57
  return synved_connect_sponsor_content($credit_item);
58
  }
 
 
synved-connect/synved-connect-key.php CHANGED
@@ -104,5 +104,3 @@ function synved_connect_key_component_validate($key, $component, $online_check =
104
 
105
  return false;
106
  }
107
-
108
- ?>
104
 
105
  return false;
106
  }
 
 
synved-connect/synved-connect-sponsor.php CHANGED
@@ -271,5 +271,3 @@ function synved_connect_sponsor_content(array $sponsor_item = null)
271
 
272
  return $sponsor_content;
273
  }
274
-
275
- ?>
271
 
272
  return $sponsor_content;
273
  }
 
 
synved-connect/synved-connect.php CHANGED
@@ -169,7 +169,6 @@ function synved_connect_init() {
169
  */
170
  function synved_connect_upgrade( $version ) {
171
  // Show the ShareThis notice on version upgrade.
172
- synved_option_set( 'synved_social', 'accepted_sharethis_terms', false );
173
  synved_option_set( 'synved_social', 'hide_sharethis_terms', false );
174
 
175
  // Saves the new option in the DB.
169
  */
170
  function synved_connect_upgrade( $version ) {
171
  // Show the ShareThis notice on version upgrade.
 
172
  synved_option_set( 'synved_social', 'hide_sharethis_terms', false );
173
 
174
  // Saves the new option in the DB.
synved-option/addons/option-type-addon/addon-handle.php CHANGED
@@ -1,5 +1,2 @@
1
  <?php
2
-
3
-
4
-
5
- ?>
1
  <?php
2
+ // Silence is golden.
 
 
 
synved-option/addons/option-type-addon/addon-render.php CHANGED
@@ -1,5 +1,2 @@
1
  <?php
2
-
3
-
4
-
5
- ?>
1
  <?php
2
+ // Silence is golden.
 
 
 
synved-option/addons/option-type-addon/option-type-addon.php CHANGED
@@ -197,5 +197,3 @@ if (is_admin())
197
  }
198
 
199
  }
200
-
201
- ?>
197
  }
198
 
199
  }
 
 
synved-option/synved-option-context.php CHANGED
@@ -4,5 +4,3 @@ function synved_option_context_post($post_id)
4
  {
5
  // XXX not implemented yet
6
  }
7
-
8
- ?>
4
  {
5
  // XXX not implemented yet
6
  }
 
 
synved-option/synved-option-error.php CHANGED
@@ -1,5 +1,2 @@
1
  <?php
2
-
3
-
4
-
5
- ?>
1
  <?php
2
+ // Silence is golden.
 
 
 
synved-option/synved-option-item.php CHANGED
@@ -831,5 +831,3 @@ function synved_option_item_addon_is_installed(array $item)
831
 
832
  return false;
833
  }
834
-
835
- ?>
831
 
832
  return false;
833
  }
 
 
synved-option/synved-option-page.php CHANGED
@@ -201,5 +201,3 @@ function synved_option_page_add_cb()
201
  }
202
  }
203
  }
204
-
205
- ?>
201
  }
202
  }
203
  }
 
 
synved-option/synved-option-render.php CHANGED
@@ -477,5 +477,3 @@ function synved_option_render_item($id, $name, $item = null, $render = false, $p
477
 
478
  return null;
479
  }
480
-
481
- ?>
477
 
478
  return null;
479
  }
 
 
synved-option/synved-option-section.php CHANGED
@@ -21,5 +21,3 @@ function synved_option_settings_section_cb($name, $item)
21
  echo '<p>' . $tip . '</p>';
22
  }
23
  }
24
-
25
- ?>
21
  echo '<p>' . $tip . '</p>';
22
  }
23
  }
 
 
synved-option/synved-option-setting.php CHANGED
@@ -19,5 +19,3 @@ function synved_option_setting_cb($id, $name, $item)
19
  {
20
  return synved_option_render_item($id, $name, $item, true);
21
  }
22
-
23
- ?>
19
  {
20
  return synved_option_render_item($id, $name, $item, true);
21
  }
 
 
synved-option/synved-option.php CHANGED
@@ -1157,5 +1157,3 @@ if (is_admin())
1157
  }
1158
 
1159
  synved_option_include_module_addon_list('synved-option');
1160
-
1161
- ?>
1157
  }
1158
 
1159
  synved_option_include_module_addon_list('synved-option');
 
 
synved-plugout/synved-plugout-core.php CHANGED
@@ -435,5 +435,3 @@ function synved_plugout_module_addon_list($module_id, $filter = null)
435
 
436
  return $addon_list;
437
  }
438
-
439
- ?>
435
 
436
  return $addon_list;
437
  }
 
 
synved-plugout/synved-plugout.php CHANGED
@@ -24,5 +24,3 @@ if (!function_exists('synved_plugout_version'))
24
  {
25
  include_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'synved-plugout-core.php');
26
  }
27
-
28
- ?>
24
  {
25
  include_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'synved-plugout-core.php');
26
  }
 
 
synved-social/addons/extra-icons/extra-icons.php CHANGED
@@ -1,87 +1,84 @@
1
  <?php
2
 
3
- if (!function_exists('synved_social_addon_extra_icons_get'))
4
- {
5
-
6
- function synved_social_addon_extra_icons_version()
7
- {
8
- return 100020002;
9
- }
10
 
11
- function synved_social_addon_extra_icons_get()
12
- {
13
- $addon_dir = '/addons/' . basename(dirname(__FILE__));
14
- $path = synved_social_path($addon_dir);
15
- $uri = synved_social_path_uri($addon_dir);
16
-
17
- $icons = array(
18
- 'clearslate' => array(
19
- 'label' => __('Clear Slate', 'social-media-feather'),
20
- 'image' => $uri . '/image/social/clearslate/preview.png',
21
- 'folder' => $addon_dir . '/image/social/clearslate/',
22
- 'path' => $path . '/image/social/clearslate/',
23
- 'uri' => $uri . '/image/social/clearslate/',
24
- 'extra' => true,
25
- ),
26
- 'darkslate' => array(
27
- 'label' => __('Dark Slate', 'social-media-feather'),
28
- 'image' => $uri . '/image/social/darkslate/preview.png',
29
- 'folder' => $addon_dir . '/image/social/darkslate/',
30
- 'path' => $path . '/image/social/darkslate/',
31
- 'uri' => $uri . '/image/social/darkslate/',
32
- 'extra' => true,
33
- ),
34
- 'circle' => array(
35
- 'label' => __('Circle', 'social-media-feather'),
36
- 'image' => $uri . '/image/social/circle/preview.png',
37
- 'folder' => $addon_dir . '/image/social/circle/',
38
- 'path' => $path . '/image/social/circle/',
39
- 'uri' => $uri . '/image/social/circle/',
40
- 'extra' => true,
41
- ),
42
- 'wheel' => array(
43
- 'label' => __('Wheel', 'social-media-feather'),
44
- 'image' => $uri . '/image/social/wheel/preview.png',
45
- 'folder' => $addon_dir . '/image/social/wheel/',
46
- 'path' => $path . '/image/social/wheel/',
47
- 'uri' => $uri . '/image/social/wheel/',
48
- 'extra' => true,
49
- ),
50
- 'flag' => array(
51
- 'label' => __('Flag', 'social-media-feather'),
52
- 'image' => $uri . '/image/social/flag/preview.png',
53
- 'folder' => $addon_dir . '/image/social/flag/',
54
- 'path' => $path . '/image/social/flag/',
55
- 'uri' => $uri . '/image/social/flag/',
56
- 'extra' => true,
57
- ),
58
- 'medal' => array(
59
- 'label' => __('Medal', 'social-media-feather'),
60
- 'image' => $uri . '/image/social/medal/preview.png',
61
- 'folder' => $addon_dir . '/image/social/medal/',
62
- 'path' => $path . '/image/social/medal/',
63
- 'uri' => $uri . '/image/social/medal/',
64
- 'extra' => true,
65
- ),
66
- 'shed' => array(
67
- 'label' => __('Shed', 'social-media-feather'),
68
- 'image' => $uri . '/image/social/shed/preview.png',
69
- 'folder' => $addon_dir . '/image/social/shed/',
70
- 'path' => $path . '/image/social/shed/',
71
- 'uri' => $uri . '/image/social/shed/',
72
- 'extra' => true,
73
- ),
74
- 'balloon' => array(
75
- 'label' => __('Balloon', 'social-media-feather'),
76
- 'image' => $uri . '/image/social/balloon/preview.png',
77
- 'folder' => $addon_dir . '/image/social/balloon/',
78
- 'path' => $path . '/image/social/balloon/',
79
- 'uri' => $uri . '/image/social/balloon/',
80
- 'extra' => true,
81
- ),
82
- );
83
-
84
- return apply_filters('synved_social_addon_extra_icons_get', $icons);
85
- }
86
 
 
 
87
  }
1
  <?php
2
 
3
+ if (!function_exists('synved_social_addon_extra_icons_get')) {
4
+ function synved_social_addon_extra_icons_version()
5
+ {
6
+ return 100020002;
7
+ }
 
 
8
 
9
+ function synved_social_addon_extra_icons_get()
10
+ {
11
+ $addon_dir = '/addons/' . basename(dirname(__FILE__));
12
+ $path = synved_social_path($addon_dir);
13
+ $uri = synved_social_path_uri($addon_dir);
14
+
15
+ $icons = [
16
+ 'clearslate' => [
17
+ 'label' => __('Clear Slate', 'social-media-feather'),
18
+ 'image' => $uri . '/image/social/clearslate/preview.png',
19
+ 'folder' => $addon_dir . '/image/social/clearslate/',
20
+ 'path' => $path . '/image/social/clearslate/',
21
+ 'uri' => $uri . '/image/social/clearslate/',
22
+ 'extra' => true,
23
+ ],
24
+ 'darkslate' => [
25
+ 'label' => __('Dark Slate', 'social-media-feather'),
26
+ 'image' => $uri . '/image/social/darkslate/preview.png',
27
+ 'folder' => $addon_dir . '/image/social/darkslate/',
28
+ 'path' => $path . '/image/social/darkslate/',
29
+ 'uri' => $uri . '/image/social/darkslate/',
30
+ 'extra' => true,
31
+ ],
32
+ 'circle' => [
33
+ 'label' => __('Circle', 'social-media-feather'),
34
+ 'image' => $uri . '/image/social/circle/preview.png',
35
+ 'folder' => $addon_dir . '/image/social/circle/',
36
+ 'path' => $path . '/image/social/circle/',
37
+ 'uri' => $uri . '/image/social/circle/',
38
+ 'extra' => true,
39
+ ],
40
+ 'wheel' => [
41
+ 'label' => __('Wheel', 'social-media-feather'),
42
+ 'image' => $uri . '/image/social/wheel/preview.png',
43
+ 'folder' => $addon_dir . '/image/social/wheel/',
44
+ 'path' => $path . '/image/social/wheel/',
45
+ 'uri' => $uri . '/image/social/wheel/',
46
+ 'extra' => true,
47
+ ],
48
+ 'flag' => [
49
+ 'label' => __('Flag', 'social-media-feather'),
50
+ 'image' => $uri . '/image/social/flag/preview.png',
51
+ 'folder' => $addon_dir . '/image/social/flag/',
52
+ 'path' => $path . '/image/social/flag/',
53
+ 'uri' => $uri . '/image/social/flag/',
54
+ 'extra' => true,
55
+ ],
56
+ 'medal' => [
57
+ 'label' => __('Medal', 'social-media-feather'),
58
+ 'image' => $uri . '/image/social/medal/preview.png',
59
+ 'folder' => $addon_dir . '/image/social/medal/',
60
+ 'path' => $path . '/image/social/medal/',
61
+ 'uri' => $uri . '/image/social/medal/',
62
+ 'extra' => true,
63
+ ],
64
+ 'shed' => [
65
+ 'label' => __('Shed', 'social-media-feather'),
66
+ 'image' => $uri . '/image/social/shed/preview.png',
67
+ 'folder' => $addon_dir . '/image/social/shed/',
68
+ 'path' => $path . '/image/social/shed/',
69
+ 'uri' => $uri . '/image/social/shed/',
70
+ 'extra' => true,
71
+ ],
72
+ 'balloon' => [
73
+ 'label' => __('Balloon', 'social-media-feather'),
74
+ 'image' => $uri . '/image/social/balloon/preview.png',
75
+ 'folder' => $addon_dir . '/image/social/balloon/',
76
+ 'path' => $path . '/image/social/balloon/',
77
+ 'uri' => $uri . '/image/social/balloon/',
78
+ 'extra' => true,
79
+ ],
80
+ ];
 
 
 
81
 
82
+ return apply_filters('synved_social_addon_extra_icons_get', $icons);
83
+ }
84
  }