Version Description
- Test with WordPress 5.8.
Download this release
Release Info
Developer | socialmediafeather |
Plugin | 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 +7 -3
- social-media-feather.php +2 -4
- synved-connect/synved-connect-addon.php +1 -2
- synved-connect/synved-connect-component.php +0 -2
- synved-connect/synved-connect-credit.php +0 -2
- synved-connect/synved-connect-key.php +0 -2
- synved-connect/synved-connect-sponsor.php +0 -2
- synved-connect/synved-connect.php +0 -1
- synved-option/addons/option-type-addon/addon-handle.php +1 -4
- synved-option/addons/option-type-addon/addon-render.php +1 -4
- synved-option/addons/option-type-addon/option-type-addon.php +0 -2
- synved-option/synved-option-context.php +0 -2
- synved-option/synved-option-error.php +1 -4
- synved-option/synved-option-item.php +0 -2
- synved-option/synved-option-page.php +0 -2
- synved-option/synved-option-render.php +0 -2
- synved-option/synved-option-section.php +0 -2
- synved-option/synved-option-setting.php +0 -2
- synved-option/synved-option.php +0 -2
- synved-plugout/synved-plugout-core.php +0 -2
- synved-plugout/synved-plugout.php +0 -2
- synved-social/addons/extra-icons/extra-icons.php +79 -82
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.
|
6 |
-
Stable tag: 2.0.
|
|
|
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.
|
8 |
Author URI: http://socialmediafeather.com/
|
9 |
*/
|
10 |
|
11 |
-
define(
|
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 |
-
|
7 |
-
|
8 |
-
return 100020002;
|
9 |
-
}
|
10 |
|
11 |
-
function synved_social_addon_extra_icons_get()
|
12 |
-
{
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
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 |
}
|