Version Description
[26 November 2021] = * [Improvement] Code improvement * [Improvement] Admin UI improvement
Download this release
Release Info
Developer | Heateor |
Plugin | WordPress Social Sharing Plugin – Sassy Social Share |
Version | 3.3.34 |
Comparing to | |
See all releases |
Code changes from version 3.3.33 to 3.3.34
- admin/partials/sassy-social-share-options-page.php +21 -9
- includes/class-sassy-social-share-sharing-networks.php +5 -5
- includes/class-sassy-social-share-widgets.php +15 -11
- includes/class-sassy-social-share.php +2 -0
- public/class-sassy-social-share-public.php +29 -3
- readme.txt +11 -3
- sassy-social-share.php +111 -2
admin/partials/sassy-social-share-options-page.php
CHANGED
@@ -11,9 +11,21 @@ defined( 'ABSPATH' ) or die( "Cheating........Uh!!" );
|
|
11 |
|
12 |
<div class="metabox-holder columns-2" id="post-body">
|
13 |
<h1>Sassy Social Share</h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
<div>
|
15 |
<?php
|
16 |
-
|
17 |
?>
|
18 |
</div>
|
19 |
<div class="menu_div" id="tabs">
|
@@ -2199,21 +2211,21 @@ defined( 'ABSPATH' ) or die( "Cheating........Uh!!" );
|
|
2199 |
</div>
|
2200 |
|
2201 |
<div class="heateor_sss_clear"></div>
|
2202 |
-
<p class="submit">
|
2203 |
-
<input style="margin-left:8px" type="submit" name="save" class="button button-primary" value="<?php _e( "Save Changes", 'sassy-social-share' ); ?>" />
|
2204 |
-
</p>
|
2205 |
<p>
|
2206 |
<?php
|
2207 |
echo sprintf( __( 'You can appreciate the effort put in this free plugin by rating it <a href="%s" target="_blank">here</a>', 'sassy-social-share' ), 'https://wordpress.org/support/view/plugin-reviews/sassy-social-share' );
|
2208 |
?>
|
2209 |
</p>
|
|
|
|
|
|
|
2210 |
</form>
|
2211 |
-
|
2212 |
-
<div class="stuffbox">
|
2213 |
<h3><label>Instagram Shoutout</label></h3>
|
2214 |
-
<
|
2215 |
-
|
2216 |
-
|
|
|
2217 |
</div>
|
2218 |
</div>
|
2219 |
</div>
|
11 |
|
12 |
<div class="metabox-holder columns-2" id="post-body">
|
13 |
<h1>Sassy Social Share</h1>
|
14 |
+
<div class="notice notice-warning settings-error is-dismissible">
|
15 |
+
<p>
|
16 |
+
<strong><span style="display: block; margin: 0.5em 0.5em 0 0; clear: both;"><?php _e( 'We also offer WordPress Website Development and Customization services', 'sassy-social-share' ) ?>: <a href="mailto:support@heateor.com?subject=WordPress%20Website%20Development&body=I%20would%20like%20to%20request%20a%20quote%20for%20the%20following%20requirement%20specifications%20of%20my%20website" target="_blank" class="thickbox"><?php _e( 'Request a Quote', 'sassy-social-share' ) ?></a></span>
|
17 |
+
</strong>
|
18 |
+
</p>
|
19 |
+
</div>
|
20 |
+
<div class="notice notice-warning settings-error is-dismissible">
|
21 |
+
<p>
|
22 |
+
<strong><span style="display: block; margin: 0.5em 0.5em 0 0; clear: both;"><?php echo sprintf( __( 'You can appreciate the effort put in this free plugin by rating it <a href="%s" target="_blank">here</a>', 'sassy-social-share' ), 'https://wordpress.org/support/view/plugin-reviews/sassy-social-share' ); ?></span>
|
23 |
+
</strong>
|
24 |
+
</p>
|
25 |
+
</div>
|
26 |
<div>
|
27 |
<?php
|
28 |
+
|
29 |
?>
|
30 |
</div>
|
31 |
<div class="menu_div" id="tabs">
|
2211 |
</div>
|
2212 |
|
2213 |
<div class="heateor_sss_clear"></div>
|
|
|
|
|
|
|
2214 |
<p>
|
2215 |
<?php
|
2216 |
echo sprintf( __( 'You can appreciate the effort put in this free plugin by rating it <a href="%s" target="_blank">here</a>', 'sassy-social-share' ), 'https://wordpress.org/support/view/plugin-reviews/sassy-social-share' );
|
2217 |
?>
|
2218 |
</p>
|
2219 |
+
<p class="submit">
|
2220 |
+
<input style="margin-left:8px" type="submit" name="save" class="button button-primary" value="<?php _e( "Save Changes", 'sassy-social-share' ); ?>" />
|
2221 |
+
</p>
|
2222 |
</form>
|
2223 |
+
<div class="notice notice-warning settings-error is-dismissible">
|
|
|
2224 |
<h3><label>Instagram Shoutout</label></h3>
|
2225 |
+
<p>
|
2226 |
+
<strong><span style="display: block; margin: 0.5em 0.5em 0 0; clear: both;"><?php _e( 'If you can send (to hello@heateor.com) how this plugin is helping your business, we would be glad to shoutout on Instagram. You can also send any relevant hashtags and people to mention in the Instagram post.', 'sassy-social-share' ) ?></span>
|
2227 |
+
</strong>
|
2228 |
+
</p>
|
2229 |
</div>
|
2230 |
</div>
|
2231 |
</div>
|
includes/class-sassy-social-share-sharing-networks.php
CHANGED
@@ -40,7 +40,7 @@ class Sassy_Social_Share_Sharing_Networks {
|
|
40 |
'facebook_share' => '<a style="padding:%padding%px 0!important" class="heateor_sss_%network%">%like_count_container%<div class="fb-share-button" data-href="%post_url%" data-layout="button_count"></div></a>',
|
41 |
'facebook_like' => '<a style="padding:%padding%px 0!important" class="heateor_sss_%network%">%like_count_container%<div class="fb-like" data-href="%post_url%" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div></a>',
|
42 |
'facebook_recommend' => '<a style="padding:%padding%px 0!important" class="heateor_sss_%network%">%like_count_container%<div class="fb-like" data-href="%post_url%" data-layout="button_count" data-action="recommend" data-show-faces="false" data-share="false"></div></a>',
|
43 |
-
'twitter_tweet' => '<a style="padding:%padding%px 0!important" class="heateor_sss_%network%" data-heateor-sss-href="%post_url%">%like_count_container%<a href="https://twitter.com/share" class="twitter-share-button" data-url="%post_url%" data-counturl="%post_url%" data-text="%decoded_post_title%" data-via="%twitter_username%" data-lang="%language%"
|
44 |
'linkedin_share' => '<a style="padding:7.35px 0!important;margin-top:-2px!important;" class="heateor_sss_%network%">%like_count_container%<script src="//platform.linkedin.com/in.js" type="text/javascript">lang: %language%</script><script type="IN/Share" data-url="%post_url%" data-counter="right"></script></a>',
|
45 |
'pinterest_pin' => '<a style="padding:%padding%px 0!important;margin-top:-1px!important" class="heateor_sss_%network%">%like_count_container%<a data-pin-lang="%language%" href="//www.pinterest.com/pin/create/button/?url=%post_url%" data-pin-do="buttonPin" data-pin-config="beside"><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /></a><script type="text/javascript" async src="//assets.pinterest.com/js/pinit.js"></script></a>',
|
46 |
'buffer_share' => '<a style="padding:%padding%px 0!important" class="heateor_sss_%network%">%like_count_container%<a href="http://bufferapp.com/add" class="buffer-add-button" data-text="%post_title%" data-url="%post_url%" data-count="horizontal" data-via="%buffer_username%" ></a><script type="text/javascript" src="https://d389zggrogs7qo.cloudfront.net/js/button.js"></script></a>',
|
@@ -54,14 +54,14 @@ class Sassy_Social_Share_Sharing_Networks {
|
|
54 |
'gab' => '<a class="heateor_sss_gab" href="https://gab.com/compose?url=%encoded_post_url%&text=%post_title%" title="Gab" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#25CC80;%span_style%"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-14.5 3.5 46 30" xml:space="preserve"><g><path fill="%logo_color%" d="M13.8,7.6h-2.4v0.7V9l-0.4-0.3C10.2,7.8,9,7.2,7.7,7.2c-0.2,0-0.4,0-0.4,0c-0.1,0-0.3,0-0.5,0 c-5.6,0.3-8.7,7.2-5.4,12.1c2.3,3.4,7.1,4.1,9.7,1.5l0.3-0.3l0,0.7c0,1-0.1,1.5-0.4,2.2c-1,2.4-4.1,3-6.8,1.3 c-0.2-0.1-0.4-0.2-0.4-0.2c-0.1,0.1-1.9,3.5-1.9,3.6c0,0.1,0.5,0.4,0.8,0.6c2.2,1.4,5.6,1.7,8.3,0.8c2.7-0.9,4.5-3.2,5-6.4 c0.2-1.1,0.2-0.8,0.2-8.4l0-7.1H13.8z M9.7,17.6c-2.2,1.2-4.9-0.4-4.9-2.9C4.8,12.6,7,11,9,11.6C11.8,12.4,12.3,16.1,9.7,17.6z"></path></g></svg></span></a>',
|
55 |
'twitter' => '<a class="heateor_sss_button_twitter" href="http://twitter.com/intent/tweet?%via_twitter_username%text=%wpseo_post_title%&url=%encoded_post_url%" title="Twitter" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_twitter" style="background-color:#55acee;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 39 39"><path d="M28 8.557a9.913 9.913 0 0 1-2.828.775 4.93 4.93 0 0 0 2.166-2.725 9.738 9.738 0 0 1-3.13 1.194 4.92 4.92 0 0 0-3.593-1.55 4.924 4.924 0 0 0-4.794 6.049c-4.09-.21-7.72-2.17-10.15-5.15a4.942 4.942 0 0 0-.665 2.477c0 1.71.87 3.214 2.19 4.1a4.968 4.968 0 0 1-2.23-.616v.06c0 2.39 1.7 4.38 3.952 4.83-.414.115-.85.174-1.297.174-.318 0-.626-.03-.928-.086a4.935 4.935 0 0 0 4.6 3.42 9.893 9.893 0 0 1-6.114 2.107c-.398 0-.79-.023-1.175-.068a13.953 13.953 0 0 0 7.55 2.213c9.056 0 14.01-7.507 14.01-14.013 0-.213-.005-.426-.015-.637.96-.695 1.795-1.56 2.455-2.55z" fill="%logo_color%"></path></svg></span></a>',
|
56 |
'linkedin' => '<a class="heateor_sss_button_linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=%encoded_post_url%&title=%post_title%" title="LinkedIn" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_linkedin" style="background-color:#0077b5;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path d="M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z" fill="%logo_color%"></path></svg></span></a>',
|
57 |
-
'print' => '<a class="heateor_sss_button_print"
|
58 |
-
'email' => '<a class="heateor_sss_email" onclick="window.open(\'mailto:?subject=\' + decodeURIComponent(\'%post_title%\' ).replace(\'&\', \'%26\') + \'&body=\' + decodeURIComponent(\'%encoded_post_url%\' ), \'_blank\')"
|
59 |
'reddit' => '<a class="heateor_sss_button_reddit" href="http://reddit.com/submit?url=%encoded_post_url%&title=%post_title%" title="Reddit" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_reddit" style="background-color:#ff5700;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3.5 -3.5 39 39"><path d="M28.543 15.774a2.953 2.953 0 0 0-2.951-2.949 2.882 2.882 0 0 0-1.9.713 14.075 14.075 0 0 0-6.85-2.044l1.38-4.349 3.768.884a2.452 2.452 0 1 0 .24-1.176l-4.274-1a.6.6 0 0 0-.709.4l-1.659 5.224a14.314 14.314 0 0 0-7.316 2.029 2.908 2.908 0 0 0-1.872-.681 2.942 2.942 0 0 0-1.618 5.4 5.109 5.109 0 0 0-.062.765c0 4.158 5.037 7.541 11.229 7.541s11.22-3.383 11.22-7.541a5.2 5.2 0 0 0-.053-.706 2.963 2.963 0 0 0 1.427-2.51zm-18.008 1.88a1.753 1.753 0 0 1 1.73-1.74 1.73 1.73 0 0 1 1.709 1.74 1.709 1.709 0 0 1-1.709 1.711 1.733 1.733 0 0 1-1.73-1.711zm9.565 4.968a5.573 5.573 0 0 1-4.081 1.272h-.032a5.576 5.576 0 0 1-4.087-1.272.6.6 0 0 1 .844-.854 4.5 4.5 0 0 0 3.238.927h.032a4.5 4.5 0 0 0 3.237-.927.6.6 0 1 1 .844.854zm-.331-3.256a1.726 1.726 0 1 1 1.709-1.712 1.717 1.717 0 0 1-1.712 1.712z" fill="%logo_color%"/></svg></span></a>',
|
60 |
'digg' => '<a class="heateor_sss_button_digg" href="http://digg.com/submit?url=%encoded_post_url%&title=%post_title%" title="Digg" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_digg" style="background-color:#006094;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-5 -5 49 49"><path class="heateor_sss_svg_stroke heateor_sss_no_fill" d="M 6 20 h 10 c 0 -14 -9 -14 -9 0 m 5 0 v 7 m -1 0 v -7 m 4 -7 h 4.5 v -5 h 8 v 8 h -8 v -3 m 8 0 h 4 v 5.5 h -3 v 12 h -4 v -8 m 0 8 h -6.5 v -12 h -2" stroke-width="2" stroke="%logo_color%" fill="none"></path><ellipse cx="11.5" cy="28.5" rx="4" ry="2" fill="%logo_color%"></ellipse></svg></span></a>',
|
61 |
'float_it' => '<a class="heateor_sss_button_float_it" href="http://www.designfloat.com/submit.php?url=%encoded_post_url%&title=%post_title%" title="Float It" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg aheateor_sss_s__default heateor_sss_s_float_it" style="background-color:#53beee;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3 -3 38 38"><g fill="%logo_color%"><path d="M16 3C8.814 3 3 8.814 3 16s5.814 13 13 13 13-5.814 13-13S23.187 3 16 3zm0 25.152c-6.712 0-12.153-5.44-12.153-12.152C3.847 9.288 9.287 3.848 16 3.848S28.152 9.288 28.152 16c0 6.712-5.44 12.152-12.152 12.152z"/><path d="M22.406 16A6.402 6.402 0 0 0 16 9.593 6.402 6.402 0 0 0 9.593 16 6.4 6.4 0 0 0 16 22.406 6.4 6.4 0 0 0 22.406 16zM16 21.39A5.392 5.392 0 0 1 10.61 16 5.403 5.403 0 0 1 16 10.61 5.393 5.393 0 0 1 21.39 16 5.382 5.382 0 0 1 16 21.39z"/><path d="M13.763 9.187V4.864c-4.475.9-8 4.424-8.898 8.898h4.322a7.226 7.226 0 0 1 4.576-4.575zm9.05 4.576h4.32c-.896-4.475-4.422-8-8.896-8.898v4.322a7.224 7.224 0 0 1 4.575 4.576zm-4.576 9.052v4.322c4.475-.9 8-4.424 8.897-8.9h-4.322a7.232 7.232 0 0 1-4.575 4.578zm-9.05-4.578H4.863c.898 4.475 4.424 8 8.898 8.9v-4.323a7.233 7.233 0 0 1-4.574-4.577z"/></g></svg></span></a>',
|
62 |
'tumblr' => '<a class="heateor_sss_button_tumblr" href="https://www.tumblr.com/widgets/share/tool?posttype=link&canonicalUrl=%encoded_post_url%&title=%post_title%&caption=" title="Tumblr" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg aheateor_sss_s__default heateor_sss_s_tumblr" style="background-color:#29435d;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 36 36"><path fill="%logo_color%" d="M20.775 21.962c-.37.177-1.08.33-1.61.345-1.598.043-1.907-1.122-1.92-1.968v-6.217h4.007V11.1H17.26V6.02h-2.925s-.132.044-.144.15c-.17 1.556-.895 4.287-3.923 5.378v2.578h2.02v6.522c0 2.232 1.647 5.404 5.994 5.33 1.467-.025 3.096-.64 3.456-1.17l-.96-2.846z"/></svg></span></a>',
|
63 |
'vkontakte' => '<a class="heateor_sss_button_vkontakte" href="http://vkontakte.ru/share.php?&url=%encoded_post_url%" title="Vkontakte" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_vkontakte" style="background-color:#5e84ac;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-1 -2 34 34"><path fill-rule="evenodd" clip-rule="evenodd" fill="%logo_color%" d="M15.764 22.223h1.315s.394-.044.6-.262c.184-.2.18-.574.18-.574s-.03-1.764.79-2.023c.81-.255 1.844 1.705 2.942 2.46.832.57 1.464.445 1.464.445l2.936-.04s1.538-.097.81-1.304c-.06-.1-.426-.894-2.186-2.526-1.843-1.71-1.594-1.434.624-4.39 1.353-1.804 1.893-2.902 1.724-3.374-.16-.45-1.153-.33-1.153-.33l-3.306.02s-.247-.034-.428.074c-.178.108-.293.356-.293.356s-.522 1.394-1.223 2.58c-1.47 2.5-2.06 2.633-2.3 2.476-.563-.36-.42-1.454-.42-2.23 0-2.423.365-3.435-.72-3.696-.357-.085-.623-.143-1.544-.15-1.182-.014-2.18.003-2.743.28-.378.185-.667.595-.49.62.218.027.713.13.975.49.34.46.33 1.496.33 1.496s.193 2.852-.46 3.206c-.442.245-1.056-.252-2.37-2.52-.67-1.163-1.18-2.446-1.18-2.446s-.1-.24-.273-.37c-.212-.155-.506-.204-.506-.204l-3.145.02s-.473.015-.647.22c-.154.183-.01.56-.01.56s2.46 5.757 5.245 8.657c2.553 2.66 5.454 2.485 5.454 2.485z"/></svg></span></a>',
|
64 |
-
'pinterest' => '<a class="heateor_sss_button_pinterest"
|
65 |
'xing' => '<a class="heateor_sss_button_xing" href="https://www.xing.com/spi/shares/new?cb=0&url=%encoded_post_url%" title="xing" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_xing" style="background-color:#00797d;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -6 42 42"><path d="M 6 9 h 5 l 4 4 l -5 7 h -5 l 5 -7 z m 15 -4 h 5 l -9 13 l 4 8 h -5 l -4 -8 z" fill="%logo_color%"></path> </svg></span></a>',
|
66 |
'instagram' => '<a class="heateor_sss_button_instagram" href="https://www.instagram.com/%instagram_username%" title="Instagram" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#53beee;%span_style%"><svg style="%inner_style%" version="1.1" viewBox="-10 -10 148 148" width="100%" height="100%" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><g><path d="M86,112H42c-14.336,0-26-11.663-26-26V42c0-14.337,11.664-26,26-26h44c14.337,0,26,11.663,26,26v44 C112,100.337,100.337,112,86,112z M42,24c-9.925,0-18,8.074-18,18v44c0,9.925,8.075,18,18,18h44c9.926,0,18-8.075,18-18V42 c0-9.926-8.074-18-18-18H42z" fill="%logo_color%"></path></g><g><path d="M64,88c-13.234,0-24-10.767-24-24c0-13.234,10.766-24,24-24s24,10.766,24,24C88,77.233,77.234,88,64,88z M64,48c-8.822,0-16,7.178-16,16s7.178,16,16,16c8.822,0,16-7.178,16-16S72.822,48,64,48z" fill="%logo_color%"></path></g><g><circle cx="89.5" cy="38.5" fill="%logo_color%" r="5.5"></circle></g></g></svg></span></a>',
|
67 |
'yummly' => '<a class="heateor_sss_yummly" href="http://www.yummly.com/urb/verify?url=%encoded_post_url%&title=%post_title%" title="Yummly" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#e16120;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 30 30"><path stroke="%logo_color%" class="heateor_sss_svg_stroke heateor_sss_no_fill" d="M 10.5 10 q 4 -2 2.5 1 l -1 4 q 0 2 5 0 l 1 -6.5 m -1 6.5 l -1 4 c -3 6 -6 -1 0 -1 q 1 -1 5 1" stroke-width="2" fill="none"></path></svg></span></a>',
|
@@ -81,7 +81,7 @@ class Sassy_Social_Share_Sharing_Networks {
|
|
81 |
'BuddyMarks' => '<a class="heateor_sss_BuddyMarks" href="http://buddymarks.com/login.php?bookmark_title=%post_title%&bookmark_url=%encoded_post_url%&bookmark_desc=&bookmark_tags=" title="BuddyMarks" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#ffd400;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><g fill="%logo_color%"><circle cx="19.587" cy="7.172" r="4.209"/><path d="M21.374 11.668h-3.572c-.085 0-.168.01-.253.013.32.68.51 1.437.51 2.236 0 1.476-.62 2.807-1.61 3.756 2.314.69 4.084 2.656 4.486 5.08 3.414-.15 5.382-1.114 5.513-1.18l.282-.145h.03V17.06c0-2.97-2.418-5.39-5.39-5.39z"/></g><g fill="%logo_color%"><circle cx="12.413" cy="13.439" r="4.209"/><path d="M14.198 17.937h-3.57c-2.973 0-5.39 2.417-5.39 5.388v4.37l.01.067.303.095c2.838.885 5.3 1.18 7.33 1.18 3.96 0 6.257-1.13 6.398-1.2l.282-.142h.027v-4.37c0-2.97-2.416-5.388-5.388-5.388z"/></g></svg></span></a>',
|
82 |
'Care2_News' => '<a class="heateor_sss_button_Care2_News" href="http://www.care2.com/passport/login.html?promoID=10&pg=http://www.care2.com/news/compose?sharehint=news&share[share_type]news&bookmarklet=Y&share[title]=%post_title%&share[link_url]=%encoded_post_url%&share[content]=" title="Care2 News" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Care2_News" style="background-color:#6eb43f;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M20.56 21.21c1.558.926 3.202 1.637 4.95 2.122.746.207 1.255.03 1.596-.673.102-.21.25-.404.4-.586 2.322-2.812 1.91-6.988-1.06-7.983.66-.517.662-1.2.47-1.92-.156-.59-.265-1.204-.492-1.767-.514-1.278-.694-2.603-.77-3.964-.047-.814-.1-1.767-1-2.068-.875-.292-1.54.357-2.09.977-1.85 2.082-2.9 4.576-3.644 7.22-.372 1.33-.7 2.676-1.077 4.12-.332-.34-.57-.837-.925-.897-.14-.376-.74-2.2.177-3.78.02-.008.033-.022.047-.037l.174-.22c.05-.063.037-.15-.024-.2-.06-.048-.15-.037-.196.025l-.174.223c-.033.04-.035.093-.02.138-.84 1.48-.432 3.147-.23 3.76-.422-.616-1.416-1.792-2.95-2.06-.024-.04-.067-.067-.116-.067h-.28c-.08 0-.143.063-.143.14 0 .08.062.142.142.142h.28c.023 0 .043-.007.062-.017 1.54.254 2.51 1.48 2.884 2.046-.38.265.127.786.08 1.276-1.986-1.483-4.072-2.605-6.244-3.572-1.956-.87-3.89-1.798-6.008-2.233-.47-.097-.977-.107-1.25.41-.25.474-.093.936.19 1.34.153.222.347.434.566.585 2.44 1.678 4.303 3.93 6.212 6.145.446.517.896 1.027 1.665 1.065.25.012.455.132.445.446v.123c.047.827.25 1.5.774 2.28 1.365 1.67 3.08 2.88 5.054 3.7.4.167.73.25 1.01.25.685 0 1.018-.517 1.116-1.578.026-1.45-.42-2.82-.863-4.154.352-.27.517.24.788.065.237-.33-.216-.68.018-1.08.172.097.316.173.456.256z"/></svg></span></a>',
|
83 |
'Comment' => '<a class="heateor_sss_button_comment" href="%post_url%#%comment_container_id%" title="comment" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Comment" style="background-color:#444;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-150 -150 791 791"><g><path d="M477.364,127.481c-22.839-28.072-53.864-50.248-93.072-66.522c-39.208-16.274-82.036-24.41-128.479-24.41 c-46.442,0-89.269,8.136-128.478,24.41c-39.209,16.274-70.233,38.446-93.074,66.522C11.419,155.555,0,186.15,0,219.269 c0,28.549,8.61,55.299,25.837,80.232c17.227,24.934,40.778,45.874,70.664,62.813c-2.096,7.611-4.57,14.842-7.426,21.7 c-2.855,6.851-5.424,12.467-7.708,16.847c-2.286,4.374-5.376,9.23-9.281,14.555c-3.899,5.332-6.849,9.093-8.848,11.283 c-1.997,2.19-5.28,5.801-9.851,10.848c-4.565,5.041-7.517,8.33-8.848,9.853c-0.193,0.097-0.953,0.948-2.285,2.574 c-1.331,1.615-1.999,2.419-1.999,2.419l-1.713,2.57c-0.953,1.42-1.381,2.327-1.287,2.703c0.096,0.384-0.094,1.335-0.57,2.854 c-0.477,1.526-0.428,2.669,0.142,3.429v0.287c0.762,3.234,2.283,5.853,4.567,7.851c2.284,1.992,4.858,2.991,7.71,2.991h1.429 c12.375-1.526,23.223-3.613,32.548-6.279c49.87-12.751,93.649-35.782,131.334-69.094c14.274,1.523,28.074,2.283,41.396,2.283 c46.442,0,89.271-8.135,128.479-24.414c39.208-16.276,70.233-38.444,93.072-66.517c22.843-28.072,34.263-58.67,34.263-91.789 C511.626,186.154,500.207,155.555,477.364,127.481z M445.244,292.075c-19.896,22.456-46.733,40.303-80.517,53.529 c-33.784,13.223-70.093,19.842-108.921,19.842c-11.609,0-23.98-0.76-37.113-2.286l-16.274-1.708l-12.277,10.852 c-23.408,20.558-49.582,36.829-78.513,48.821c8.754-15.414,15.416-31.785,19.986-49.102l7.708-27.412l-24.838-14.27 c-24.744-14.093-43.918-30.793-57.53-50.114c-13.61-19.315-20.412-39.638-20.412-60.954c0-26.077,9.945-50.343,29.834-72.803 c19.895-22.458,46.729-40.303,80.515-53.531c33.786-13.229,70.089-19.849,108.92-19.849c38.828,0,75.13,6.617,108.914,19.845 c33.783,13.229,60.62,31.073,80.517,53.531c19.89,22.46,29.834,46.727,29.834,72.802S465.133,269.615,445.244,292.075z" fill="%logo_color%"/></g></svg></span></a>',
|
84 |
-
'Copy_Link' => '<a class="heateor_sss_button_copy_link"
|
85 |
'Diary.Ru' => '<a class="heateor_sss_button_diary_ru" href="http://www.diary.ru/?newpost&title=%post_title%&text=%encoded_post_url%" title="Diary.Ru" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_diary_ru" style="background-color:#e8d8c6;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3zm0 24.807C9.48 27.807 4.192 22.522 4.192 16 4.192 9.48 9.48 4.193 16 4.193c3.92 0 7.392 1.91 9.54 4.85h-8.308s-2.863.397-3.18 2.544c-.34 2.293-1.988 2.465-1.988 2.465h-4.69v1.51h9.74c.206-1.086 1.16-1.907 2.305-1.907 1.143 0 2.096.82 2.302 1.908h1.632v.874h-1.632c-.206 1.087-1.16 1.91-2.305 1.91-1.147 0-2.1-.823-2.306-1.91H7.37v1.59h4.69s1.67 0 1.988 2.464c.304 2.356 3.18 2.548 3.18 2.548h8.25c-2.15 2.895-5.596 4.77-9.48 4.77z"/></svg></span></a>',
|
86 |
'Diaspora' => '<a class="heateor_sss_button_diaspora" href="https://joindiaspora.com/bookmarklet?url=%encoded_post_url%&title=%post_title%&v=1&" title="Diaspora" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_diaspora" style="background-color:#2e3436;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-1 -1 34 34"><path fill="%logo_color%" d="M13.498 6.49v6.258l-5.953-1.933L6 15.57l5.95 1.934-3.677 5.063 4.046 2.942L16 20.44l3.68 5.064 4.047-2.943L20.05 17.5 26 15.57l-1.545-4.755-5.953 1.933V6.49h-5.004z"/></svg></span></a>',
|
87 |
'Diigo' => '<a class="heateor_sss_button_Diigo" href="http://www.diigo.com/post?url=%encoded_post_url%&title=%post_title%" title="Diigo" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Diigo" style="background-color:#4a8bca;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill-rule="evenodd" clip-rule="evenodd" fill="%logo_color%" d="M23.81 4.5c.012.198.035.396.035.593 0 4.807.026 9.615-.01 14.422-.02 3.248-1.5 5.678-4.393 7.158-4.66 2.385-10.495-.64-11.212-5.836-.76-5.517 3.747-9.56 8.682-9.018 1.114.12 2.16.5 3.134 1.07.517.3.527.295.53-.29.007-2.7.01-5.4.014-8.103h3.22zm-7.914 19.97c2.608.068 4.82-2.025 4.954-4.552.138-2.626-1.89-5.074-4.727-5.145-2.7-.067-4.867 2-4.973 4.71-.107 2.72 2.13 5.008 4.746 4.988z"/></svg></span></a>',
|
40 |
'facebook_share' => '<a style="padding:%padding%px 0!important" class="heateor_sss_%network%">%like_count_container%<div class="fb-share-button" data-href="%post_url%" data-layout="button_count"></div></a>',
|
41 |
'facebook_like' => '<a style="padding:%padding%px 0!important" class="heateor_sss_%network%">%like_count_container%<div class="fb-like" data-href="%post_url%" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div></a>',
|
42 |
'facebook_recommend' => '<a style="padding:%padding%px 0!important" class="heateor_sss_%network%">%like_count_container%<div class="fb-like" data-href="%post_url%" data-layout="button_count" data-action="recommend" data-show-faces="false" data-share="false"></div></a>',
|
43 |
+
'twitter_tweet' => '<a style="padding:%padding%px 0!important" class="heateor_sss_%network%" data-heateor-sss-href="%post_url%">%like_count_container%<a href="https://twitter.com/share" class="twitter-share-button" data-url="%post_url%" data-counturl="%post_url%" data-text="%decoded_post_title%" data-via="%twitter_username%" data-lang="%language%">Tweet</a><script>!function(d,s,id) {var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?"http":"https";if ( !d.getElementById(id) ) {js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document, "script", "twitter-wjs");</script></a>',
|
44 |
'linkedin_share' => '<a style="padding:7.35px 0!important;margin-top:-2px!important;" class="heateor_sss_%network%">%like_count_container%<script src="//platform.linkedin.com/in.js" type="text/javascript">lang: %language%</script><script type="IN/Share" data-url="%post_url%" data-counter="right"></script></a>',
|
45 |
'pinterest_pin' => '<a style="padding:%padding%px 0!important;margin-top:-1px!important" class="heateor_sss_%network%">%like_count_container%<a data-pin-lang="%language%" href="//www.pinterest.com/pin/create/button/?url=%post_url%" data-pin-do="buttonPin" data-pin-config="beside"><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /></a><script type="text/javascript" async src="//assets.pinterest.com/js/pinit.js"></script></a>',
|
46 |
'buffer_share' => '<a style="padding:%padding%px 0!important" class="heateor_sss_%network%">%like_count_container%<a href="http://bufferapp.com/add" class="buffer-add-button" data-text="%post_title%" data-url="%post_url%" data-count="horizontal" data-via="%buffer_username%" ></a><script type="text/javascript" src="https://d389zggrogs7qo.cloudfront.net/js/button.js"></script></a>',
|
54 |
'gab' => '<a class="heateor_sss_gab" href="https://gab.com/compose?url=%encoded_post_url%&text=%post_title%" title="Gab" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#25CC80;%span_style%"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-14.5 3.5 46 30" xml:space="preserve"><g><path fill="%logo_color%" d="M13.8,7.6h-2.4v0.7V9l-0.4-0.3C10.2,7.8,9,7.2,7.7,7.2c-0.2,0-0.4,0-0.4,0c-0.1,0-0.3,0-0.5,0 c-5.6,0.3-8.7,7.2-5.4,12.1c2.3,3.4,7.1,4.1,9.7,1.5l0.3-0.3l0,0.7c0,1-0.1,1.5-0.4,2.2c-1,2.4-4.1,3-6.8,1.3 c-0.2-0.1-0.4-0.2-0.4-0.2c-0.1,0.1-1.9,3.5-1.9,3.6c0,0.1,0.5,0.4,0.8,0.6c2.2,1.4,5.6,1.7,8.3,0.8c2.7-0.9,4.5-3.2,5-6.4 c0.2-1.1,0.2-0.8,0.2-8.4l0-7.1H13.8z M9.7,17.6c-2.2,1.2-4.9-0.4-4.9-2.9C4.8,12.6,7,11,9,11.6C11.8,12.4,12.3,16.1,9.7,17.6z"></path></g></svg></span></a>',
|
55 |
'twitter' => '<a class="heateor_sss_button_twitter" href="http://twitter.com/intent/tweet?%via_twitter_username%text=%wpseo_post_title%&url=%encoded_post_url%" title="Twitter" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_twitter" style="background-color:#55acee;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 39 39"><path d="M28 8.557a9.913 9.913 0 0 1-2.828.775 4.93 4.93 0 0 0 2.166-2.725 9.738 9.738 0 0 1-3.13 1.194 4.92 4.92 0 0 0-3.593-1.55 4.924 4.924 0 0 0-4.794 6.049c-4.09-.21-7.72-2.17-10.15-5.15a4.942 4.942 0 0 0-.665 2.477c0 1.71.87 3.214 2.19 4.1a4.968 4.968 0 0 1-2.23-.616v.06c0 2.39 1.7 4.38 3.952 4.83-.414.115-.85.174-1.297.174-.318 0-.626-.03-.928-.086a4.935 4.935 0 0 0 4.6 3.42 9.893 9.893 0 0 1-6.114 2.107c-.398 0-.79-.023-1.175-.068a13.953 13.953 0 0 0 7.55 2.213c9.056 0 14.01-7.507 14.01-14.013 0-.213-.005-.426-.015-.637.96-.695 1.795-1.56 2.455-2.55z" fill="%logo_color%"></path></svg></span></a>',
|
56 |
'linkedin' => '<a class="heateor_sss_button_linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=%encoded_post_url%&title=%post_title%" title="LinkedIn" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_linkedin" style="background-color:#0077b5;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path d="M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z" fill="%logo_color%"></path></svg></span></a>',
|
57 |
+
'print' => '<a class="heateor_sss_button_print" onclick="window.print()" title="Print" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_print" style="background-color:#fd6500;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" stroke="%logo_color%" stroke-width=".1" d="M4.467 14.305h23.065v6.498H4.467v-6.498z"/><path fill="#DCDCDC" stroke="%logo_color%" stroke-width=".1" d="M5.228 12.83H26.77l.745 1.39H4.485l.743-1.39z"/><path d="M9.19 8.118h13.467v6.106H9.19z"/><path fill="%logo_color%" stroke="%logo_color%" stroke-width=".1" d="M9.844 6.516h12.312v7.31H9.844z"/><path stroke="%logo_color%" stroke-width=".1" d="M8.602 17.37h14.574v3.396H8.602z"/><path fill="%logo_color%" stroke="%logo_color%" stroke-width=".1" d="M10.152 17.97h11.27l2.233 7.515H7.92l2.232-7.514z"/></svg></span></a>',
|
58 |
+
'email' => '<a class="heateor_sss_email" onclick="window.open(\'mailto:?subject=\' + decodeURIComponent(\'%post_title%\' ).replace(\'&\', \'%26\') + \'&body=\' + decodeURIComponent(\'%encoded_post_url%\' ), \'_blank\')" title="Email" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg" style="background-color:#649a3f;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 43 43"><path d="M 5.5 11 h 23 v 1 l -11 6 l -11 -6 v -1 m 0 2 l 11 6 l 11 -6 v 11 h -22 v -11" stroke-width="1" fill="%logo_color%"></path></svg></span></a>',
|
59 |
'reddit' => '<a class="heateor_sss_button_reddit" href="http://reddit.com/submit?url=%encoded_post_url%&title=%post_title%" title="Reddit" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_reddit" style="background-color:#ff5700;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3.5 -3.5 39 39"><path d="M28.543 15.774a2.953 2.953 0 0 0-2.951-2.949 2.882 2.882 0 0 0-1.9.713 14.075 14.075 0 0 0-6.85-2.044l1.38-4.349 3.768.884a2.452 2.452 0 1 0 .24-1.176l-4.274-1a.6.6 0 0 0-.709.4l-1.659 5.224a14.314 14.314 0 0 0-7.316 2.029 2.908 2.908 0 0 0-1.872-.681 2.942 2.942 0 0 0-1.618 5.4 5.109 5.109 0 0 0-.062.765c0 4.158 5.037 7.541 11.229 7.541s11.22-3.383 11.22-7.541a5.2 5.2 0 0 0-.053-.706 2.963 2.963 0 0 0 1.427-2.51zm-18.008 1.88a1.753 1.753 0 0 1 1.73-1.74 1.73 1.73 0 0 1 1.709 1.74 1.709 1.709 0 0 1-1.709 1.711 1.733 1.733 0 0 1-1.73-1.711zm9.565 4.968a5.573 5.573 0 0 1-4.081 1.272h-.032a5.576 5.576 0 0 1-4.087-1.272.6.6 0 0 1 .844-.854 4.5 4.5 0 0 0 3.238.927h.032a4.5 4.5 0 0 0 3.237-.927.6.6 0 1 1 .844.854zm-.331-3.256a1.726 1.726 0 1 1 1.709-1.712 1.717 1.717 0 0 1-1.712 1.712z" fill="%logo_color%"/></svg></span></a>',
|
60 |
'digg' => '<a class="heateor_sss_button_digg" href="http://digg.com/submit?url=%encoded_post_url%&title=%post_title%" title="Digg" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_digg" style="background-color:#006094;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-5 -5 49 49"><path class="heateor_sss_svg_stroke heateor_sss_no_fill" d="M 6 20 h 10 c 0 -14 -9 -14 -9 0 m 5 0 v 7 m -1 0 v -7 m 4 -7 h 4.5 v -5 h 8 v 8 h -8 v -3 m 8 0 h 4 v 5.5 h -3 v 12 h -4 v -8 m 0 8 h -6.5 v -12 h -2" stroke-width="2" stroke="%logo_color%" fill="none"></path><ellipse cx="11.5" cy="28.5" rx="4" ry="2" fill="%logo_color%"></ellipse></svg></span></a>',
|
61 |
'float_it' => '<a class="heateor_sss_button_float_it" href="http://www.designfloat.com/submit.php?url=%encoded_post_url%&title=%post_title%" title="Float It" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg aheateor_sss_s__default heateor_sss_s_float_it" style="background-color:#53beee;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3 -3 38 38"><g fill="%logo_color%"><path d="M16 3C8.814 3 3 8.814 3 16s5.814 13 13 13 13-5.814 13-13S23.187 3 16 3zm0 25.152c-6.712 0-12.153-5.44-12.153-12.152C3.847 9.288 9.287 3.848 16 3.848S28.152 9.288 28.152 16c0 6.712-5.44 12.152-12.152 12.152z"/><path d="M22.406 16A6.402 6.402 0 0 0 16 9.593 6.402 6.402 0 0 0 9.593 16 6.4 6.4 0 0 0 16 22.406 6.4 6.4 0 0 0 22.406 16zM16 21.39A5.392 5.392 0 0 1 10.61 16 5.403 5.403 0 0 1 16 10.61 5.393 5.393 0 0 1 21.39 16 5.382 5.382 0 0 1 16 21.39z"/><path d="M13.763 9.187V4.864c-4.475.9-8 4.424-8.898 8.898h4.322a7.226 7.226 0 0 1 4.576-4.575zm9.05 4.576h4.32c-.896-4.475-4.422-8-8.896-8.898v4.322a7.224 7.224 0 0 1 4.575 4.576zm-4.576 9.052v4.322c4.475-.9 8-4.424 8.897-8.9h-4.322a7.232 7.232 0 0 1-4.575 4.578zm-9.05-4.578H4.863c.898 4.475 4.424 8 8.898 8.9v-4.323a7.233 7.233 0 0 1-4.574-4.577z"/></g></svg></span></a>',
|
62 |
'tumblr' => '<a class="heateor_sss_button_tumblr" href="https://www.tumblr.com/widgets/share/tool?posttype=link&canonicalUrl=%encoded_post_url%&title=%post_title%&caption=" title="Tumblr" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg aheateor_sss_s__default heateor_sss_s_tumblr" style="background-color:#29435d;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 36 36"><path fill="%logo_color%" d="M20.775 21.962c-.37.177-1.08.33-1.61.345-1.598.043-1.907-1.122-1.92-1.968v-6.217h4.007V11.1H17.26V6.02h-2.925s-.132.044-.144.15c-.17 1.556-.895 4.287-3.923 5.378v2.578h2.02v6.522c0 2.232 1.647 5.404 5.994 5.33 1.467-.025 3.096-.64 3.456-1.17l-.96-2.846z"/></svg></span></a>',
|
63 |
'vkontakte' => '<a class="heateor_sss_button_vkontakte" href="http://vkontakte.ru/share.php?&url=%encoded_post_url%" title="Vkontakte" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_vkontakte" style="background-color:#5e84ac;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-1 -2 34 34"><path fill-rule="evenodd" clip-rule="evenodd" fill="%logo_color%" d="M15.764 22.223h1.315s.394-.044.6-.262c.184-.2.18-.574.18-.574s-.03-1.764.79-2.023c.81-.255 1.844 1.705 2.942 2.46.832.57 1.464.445 1.464.445l2.936-.04s1.538-.097.81-1.304c-.06-.1-.426-.894-2.186-2.526-1.843-1.71-1.594-1.434.624-4.39 1.353-1.804 1.893-2.902 1.724-3.374-.16-.45-1.153-.33-1.153-.33l-3.306.02s-.247-.034-.428.074c-.178.108-.293.356-.293.356s-.522 1.394-1.223 2.58c-1.47 2.5-2.06 2.633-2.3 2.476-.563-.36-.42-1.454-.42-2.23 0-2.423.365-3.435-.72-3.696-.357-.085-.623-.143-1.544-.15-1.182-.014-2.18.003-2.743.28-.378.185-.667.595-.49.62.218.027.713.13.975.49.34.46.33 1.496.33 1.496s.193 2.852-.46 3.206c-.442.245-1.056-.252-2.37-2.52-.67-1.163-1.18-2.446-1.18-2.446s-.1-.24-.273-.37c-.212-.155-.506-.204-.506-.204l-3.145.02s-.473.015-.647.22c-.154.183-.01.56-.01.56s2.46 5.757 5.245 8.657c2.553 2.66 5.454 2.485 5.454 2.485z"/></svg></span></a>',
|
64 |
+
'pinterest' => '<a class="heateor_sss_button_pinterest" onclick="javascript:void( (function() {var e=document.createElement(\'script\' );e.setAttribute(\'type\',\'text/javascript\' );e.setAttribute(\'charset\',\'UTF-8\' );e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e)})());" title="Pinterest" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_pinterest" style="background-color:#cc2329;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 35 35"><path fill="%logo_color%" d="M16.539 4.5c-6.277 0-9.442 4.5-9.442 8.253 0 2.272.86 4.293 2.705 5.046.303.125.574.005.662-.33.061-.231.205-.816.27-1.06.088-.331.053-.447-.191-.736-.532-.627-.873-1.439-.873-2.591 0-3.338 2.498-6.327 6.505-6.327 3.548 0 5.497 2.168 5.497 5.062 0 3.81-1.686 7.025-4.188 7.025-1.382 0-2.416-1.142-2.085-2.545.397-1.674 1.166-3.48 1.166-4.689 0-1.081-.581-1.983-1.782-1.983-1.413 0-2.548 1.462-2.548 3.419 0 1.247.421 2.091.421 2.091l-1.699 7.199c-.505 2.137-.076 4.755-.039 5.019.021.158.223.196.314.077.13-.17 1.813-2.247 2.384-4.324.162-.587.929-3.631.929-3.631.46.876 1.801 1.646 3.227 1.646 4.247 0 7.128-3.871 7.128-9.053.003-3.918-3.317-7.568-8.361-7.568z"/></svg></span></a>',
|
65 |
'xing' => '<a class="heateor_sss_button_xing" href="https://www.xing.com/spi/shares/new?cb=0&url=%encoded_post_url%" title="xing" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_xing" style="background-color:#00797d;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -6 42 42"><path d="M 6 9 h 5 l 4 4 l -5 7 h -5 l 5 -7 z m 15 -4 h 5 l -9 13 l 4 8 h -5 l -4 -8 z" fill="%logo_color%"></path> </svg></span></a>',
|
66 |
'instagram' => '<a class="heateor_sss_button_instagram" href="https://www.instagram.com/%instagram_username%" title="Instagram" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#53beee;%span_style%"><svg style="%inner_style%" version="1.1" viewBox="-10 -10 148 148" width="100%" height="100%" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><g><path d="M86,112H42c-14.336,0-26-11.663-26-26V42c0-14.337,11.664-26,26-26h44c14.337,0,26,11.663,26,26v44 C112,100.337,100.337,112,86,112z M42,24c-9.925,0-18,8.074-18,18v44c0,9.925,8.075,18,18,18h44c9.926,0,18-8.075,18-18V42 c0-9.926-8.074-18-18-18H42z" fill="%logo_color%"></path></g><g><path d="M64,88c-13.234,0-24-10.767-24-24c0-13.234,10.766-24,24-24s24,10.766,24,24C88,77.233,77.234,88,64,88z M64,48c-8.822,0-16,7.178-16,16s7.178,16,16,16c8.822,0,16-7.178,16-16S72.822,48,64,48z" fill="%logo_color%"></path></g><g><circle cx="89.5" cy="38.5" fill="%logo_color%" r="5.5"></circle></g></g></svg></span></a>',
|
67 |
'yummly' => '<a class="heateor_sss_yummly" href="http://www.yummly.com/urb/verify?url=%encoded_post_url%&title=%post_title%" title="Yummly" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#e16120;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 30 30"><path stroke="%logo_color%" class="heateor_sss_svg_stroke heateor_sss_no_fill" d="M 10.5 10 q 4 -2 2.5 1 l -1 4 q 0 2 5 0 l 1 -6.5 m -1 6.5 l -1 4 c -3 6 -6 -1 0 -1 q 1 -1 5 1" stroke-width="2" fill="none"></path></svg></span></a>',
|
81 |
'BuddyMarks' => '<a class="heateor_sss_BuddyMarks" href="http://buddymarks.com/login.php?bookmark_title=%post_title%&bookmark_url=%encoded_post_url%&bookmark_desc=&bookmark_tags=" title="BuddyMarks" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#ffd400;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><g fill="%logo_color%"><circle cx="19.587" cy="7.172" r="4.209"/><path d="M21.374 11.668h-3.572c-.085 0-.168.01-.253.013.32.68.51 1.437.51 2.236 0 1.476-.62 2.807-1.61 3.756 2.314.69 4.084 2.656 4.486 5.08 3.414-.15 5.382-1.114 5.513-1.18l.282-.145h.03V17.06c0-2.97-2.418-5.39-5.39-5.39z"/></g><g fill="%logo_color%"><circle cx="12.413" cy="13.439" r="4.209"/><path d="M14.198 17.937h-3.57c-2.973 0-5.39 2.417-5.39 5.388v4.37l.01.067.303.095c2.838.885 5.3 1.18 7.33 1.18 3.96 0 6.257-1.13 6.398-1.2l.282-.142h.027v-4.37c0-2.97-2.416-5.388-5.388-5.388z"/></g></svg></span></a>',
|
82 |
'Care2_News' => '<a class="heateor_sss_button_Care2_News" href="http://www.care2.com/passport/login.html?promoID=10&pg=http://www.care2.com/news/compose?sharehint=news&share[share_type]news&bookmarklet=Y&share[title]=%post_title%&share[link_url]=%encoded_post_url%&share[content]=" title="Care2 News" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Care2_News" style="background-color:#6eb43f;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M20.56 21.21c1.558.926 3.202 1.637 4.95 2.122.746.207 1.255.03 1.596-.673.102-.21.25-.404.4-.586 2.322-2.812 1.91-6.988-1.06-7.983.66-.517.662-1.2.47-1.92-.156-.59-.265-1.204-.492-1.767-.514-1.278-.694-2.603-.77-3.964-.047-.814-.1-1.767-1-2.068-.875-.292-1.54.357-2.09.977-1.85 2.082-2.9 4.576-3.644 7.22-.372 1.33-.7 2.676-1.077 4.12-.332-.34-.57-.837-.925-.897-.14-.376-.74-2.2.177-3.78.02-.008.033-.022.047-.037l.174-.22c.05-.063.037-.15-.024-.2-.06-.048-.15-.037-.196.025l-.174.223c-.033.04-.035.093-.02.138-.84 1.48-.432 3.147-.23 3.76-.422-.616-1.416-1.792-2.95-2.06-.024-.04-.067-.067-.116-.067h-.28c-.08 0-.143.063-.143.14 0 .08.062.142.142.142h.28c.023 0 .043-.007.062-.017 1.54.254 2.51 1.48 2.884 2.046-.38.265.127.786.08 1.276-1.986-1.483-4.072-2.605-6.244-3.572-1.956-.87-3.89-1.798-6.008-2.233-.47-.097-.977-.107-1.25.41-.25.474-.093.936.19 1.34.153.222.347.434.566.585 2.44 1.678 4.303 3.93 6.212 6.145.446.517.896 1.027 1.665 1.065.25.012.455.132.445.446v.123c.047.827.25 1.5.774 2.28 1.365 1.67 3.08 2.88 5.054 3.7.4.167.73.25 1.01.25.685 0 1.018-.517 1.116-1.578.026-1.45-.42-2.82-.863-4.154.352-.27.517.24.788.065.237-.33-.216-.68.018-1.08.172.097.316.173.456.256z"/></svg></span></a>',
|
83 |
'Comment' => '<a class="heateor_sss_button_comment" href="%post_url%#%comment_container_id%" title="comment" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Comment" style="background-color:#444;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-150 -150 791 791"><g><path d="M477.364,127.481c-22.839-28.072-53.864-50.248-93.072-66.522c-39.208-16.274-82.036-24.41-128.479-24.41 c-46.442,0-89.269,8.136-128.478,24.41c-39.209,16.274-70.233,38.446-93.074,66.522C11.419,155.555,0,186.15,0,219.269 c0,28.549,8.61,55.299,25.837,80.232c17.227,24.934,40.778,45.874,70.664,62.813c-2.096,7.611-4.57,14.842-7.426,21.7 c-2.855,6.851-5.424,12.467-7.708,16.847c-2.286,4.374-5.376,9.23-9.281,14.555c-3.899,5.332-6.849,9.093-8.848,11.283 c-1.997,2.19-5.28,5.801-9.851,10.848c-4.565,5.041-7.517,8.33-8.848,9.853c-0.193,0.097-0.953,0.948-2.285,2.574 c-1.331,1.615-1.999,2.419-1.999,2.419l-1.713,2.57c-0.953,1.42-1.381,2.327-1.287,2.703c0.096,0.384-0.094,1.335-0.57,2.854 c-0.477,1.526-0.428,2.669,0.142,3.429v0.287c0.762,3.234,2.283,5.853,4.567,7.851c2.284,1.992,4.858,2.991,7.71,2.991h1.429 c12.375-1.526,23.223-3.613,32.548-6.279c49.87-12.751,93.649-35.782,131.334-69.094c14.274,1.523,28.074,2.283,41.396,2.283 c46.442,0,89.271-8.135,128.479-24.414c39.208-16.276,70.233-38.444,93.072-66.517c22.843-28.072,34.263-58.67,34.263-91.789 C511.626,186.154,500.207,155.555,477.364,127.481z M445.244,292.075c-19.896,22.456-46.733,40.303-80.517,53.529 c-33.784,13.223-70.093,19.842-108.921,19.842c-11.609,0-23.98-0.76-37.113-2.286l-16.274-1.708l-12.277,10.852 c-23.408,20.558-49.582,36.829-78.513,48.821c8.754-15.414,15.416-31.785,19.986-49.102l7.708-27.412l-24.838-14.27 c-24.744-14.093-43.918-30.793-57.53-50.114c-13.61-19.315-20.412-39.638-20.412-60.954c0-26.077,9.945-50.343,29.834-72.803 c19.895-22.458,46.729-40.303,80.515-53.531c33.786-13.229,70.089-19.849,108.92-19.849c38.828,0,75.13,6.617,108.914,19.845 c33.783,13.229,60.62,31.073,80.517,53.531c19.89,22.46,29.834,46.727,29.834,72.802S465.133,269.615,445.244,292.075z" fill="%logo_color%"/></g></svg></span></a>',
|
84 |
+
'Copy_Link' => '<a class="heateor_sss_button_copy_link" title="Copy Link" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_copy_link" style="background-color:#ffc112;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 40 40"><path fill="%logo_color%" d="M24.412 21.177c0-.36-.126-.665-.377-.917l-2.804-2.804a1.235 1.235 0 0 0-.913-.378c-.377 0-.7.144-.97.43.026.028.11.11.255.25.144.14.24.236.29.29s.117.14.2.256c.087.117.146.232.177.344.03.112.046.236.046.37 0 .36-.126.666-.377.918a1.25 1.25 0 0 1-.918.377 1.4 1.4 0 0 1-.373-.047 1.062 1.062 0 0 1-.345-.175 2.268 2.268 0 0 1-.256-.2 6.815 6.815 0 0 1-.29-.29c-.14-.142-.223-.23-.25-.254-.297.28-.445.607-.445.984 0 .36.126.664.377.916l2.778 2.79c.243.243.548.364.917.364.36 0 .665-.118.917-.35l1.982-1.97c.252-.25.378-.55.378-.9zm-9.477-9.504c0-.36-.126-.665-.377-.917l-2.777-2.79a1.235 1.235 0 0 0-.913-.378c-.35 0-.656.12-.917.364L7.967 9.92c-.254.252-.38.553-.38.903 0 .36.126.665.38.917l2.802 2.804c.242.243.547.364.916.364.377 0 .7-.14.97-.418-.026-.027-.11-.11-.255-.25s-.24-.235-.29-.29a2.675 2.675 0 0 1-.2-.255 1.052 1.052 0 0 1-.176-.344 1.396 1.396 0 0 1-.047-.37c0-.36.126-.662.377-.914.252-.252.557-.377.917-.377.136 0 .26.015.37.046.114.03.23.09.346.175.117.085.202.153.256.2.054.05.15.148.29.29.14.146.222.23.25.258.294-.278.442-.606.442-.983zM27 21.177c0 1.078-.382 1.99-1.146 2.736l-1.982 1.968c-.745.75-1.658 1.12-2.736 1.12-1.087 0-2.004-.38-2.75-1.143l-2.777-2.79c-.75-.747-1.12-1.66-1.12-2.737 0-1.106.392-2.046 1.183-2.818l-1.186-1.185c-.774.79-1.708 1.186-2.805 1.186-1.078 0-1.995-.376-2.75-1.13l-2.803-2.81C5.377 12.82 5 11.903 5 10.826c0-1.08.382-1.993 1.146-2.738L8.128 6.12C8.873 5.372 9.785 5 10.864 5c1.087 0 2.004.382 2.75 1.146l2.777 2.79c.75.747 1.12 1.66 1.12 2.737 0 1.105-.392 2.045-1.183 2.817l1.186 1.186c.774-.79 1.708-1.186 2.805-1.186 1.078 0 1.995.377 2.75 1.132l2.804 2.804c.754.755 1.13 1.672 1.13 2.75z"/></svg></span></a>',
|
85 |
'Diary.Ru' => '<a class="heateor_sss_button_diary_ru" href="http://www.diary.ru/?newpost&title=%post_title%&text=%encoded_post_url%" title="Diary.Ru" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_diary_ru" style="background-color:#e8d8c6;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3zm0 24.807C9.48 27.807 4.192 22.522 4.192 16 4.192 9.48 9.48 4.193 16 4.193c3.92 0 7.392 1.91 9.54 4.85h-8.308s-2.863.397-3.18 2.544c-.34 2.293-1.988 2.465-1.988 2.465h-4.69v1.51h9.74c.206-1.086 1.16-1.907 2.305-1.907 1.143 0 2.096.82 2.302 1.908h1.632v.874h-1.632c-.206 1.087-1.16 1.91-2.305 1.91-1.147 0-2.1-.823-2.306-1.91H7.37v1.59h4.69s1.67 0 1.988 2.464c.304 2.356 3.18 2.548 3.18 2.548h8.25c-2.15 2.895-5.596 4.77-9.48 4.77z"/></svg></span></a>',
|
86 |
'Diaspora' => '<a class="heateor_sss_button_diaspora" href="https://joindiaspora.com/bookmarklet?url=%encoded_post_url%&title=%post_title%&v=1&" title="Diaspora" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_diaspora" style="background-color:#2e3436;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-1 -1 34 34"><path fill="%logo_color%" d="M13.498 6.49v6.258l-5.953-1.933L6 15.57l5.95 1.934-3.677 5.063 4.046 2.942L16 20.44l3.68 5.064 4.047-2.943L20.05 17.5 26 15.57l-1.545-4.755-5.953 1.933V6.49h-5.004z"/></svg></span></a>',
|
87 |
'Diigo' => '<a class="heateor_sss_button_Diigo" href="http://www.diigo.com/post?url=%encoded_post_url%&title=%post_title%" title="Diigo" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Diigo" style="background-color:#4a8bca;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill-rule="evenodd" clip-rule="evenodd" fill="%logo_color%" d="M23.81 4.5c.012.198.035.396.035.593 0 4.807.026 9.615-.01 14.422-.02 3.248-1.5 5.678-4.393 7.158-4.66 2.385-10.495-.64-11.212-5.836-.76-5.517 3.747-9.56 8.682-9.018 1.114.12 2.16.5 3.134 1.07.517.3.527.295.53-.29.007-2.7.01-5.4.014-8.103h3.22zm-7.914 19.97c2.608.068 4.82-2.025 4.954-4.552.138-2.626-1.89-5.074-4.727-5.145-2.7-.067-4.867 2-4.973 4.71-.107 2.72 2.13 5.008 4.746 4.988z"/></svg></span></a>',
|
includes/class-sassy-social-share-widgets.php
CHANGED
@@ -148,7 +148,8 @@ class Sassy_Social_Share_Standard_Widget extends WP_Widget {
|
|
148 |
$title = apply_filters( 'widget_title', $instance[ 'title' ] );
|
149 |
echo $before_title . $title . $after_title;
|
150 |
}
|
151 |
-
|
|
|
152 |
echo '</div>';
|
153 |
}
|
154 |
}
|
@@ -652,25 +653,28 @@ class Sassy_Social_Share_Follow_Widget extends WP_Widget {
|
|
652 |
} elseif ( $instance['custom_color'] == 'floating' ) {
|
653 |
$check_theme = 'floating_';
|
654 |
}
|
655 |
-
|
656 |
-
|
657 |
if ( ! empty( $instance['title'] ) ) {
|
658 |
$title = apply_filters( 'widget_title', $instance[ 'title' ] );
|
659 |
-
|
660 |
if ( $instance['type'] == 'floating' ) {
|
661 |
-
|
662 |
}
|
663 |
-
|
664 |
if ( $instance['type'] == 'floating' ) {
|
665 |
-
|
666 |
}
|
667 |
-
|
668 |
}
|
669 |
|
670 |
-
|
671 |
|
672 |
-
|
673 |
-
|
|
|
|
|
|
|
674 |
|
675 |
if ( ! empty( $instance['after_widget_content'] ) ) {
|
676 |
echo '<div>' . esc_html( $instance['after_widget_content'] ) . '</div>';
|
148 |
$title = apply_filters( 'widget_title', $instance[ 'title' ] );
|
149 |
echo $before_title . $title . $after_title;
|
150 |
}
|
151 |
+
global $heateor_sss_allowed_tags;
|
152 |
+
echo wp_kses( $sharing_div, $heateor_sss_allowed_tags );
|
153 |
echo '</div>';
|
154 |
}
|
155 |
}
|
653 |
} elseif ( $instance['custom_color'] == 'floating' ) {
|
654 |
$check_theme = 'floating_';
|
655 |
}
|
656 |
+
|
657 |
+
$follow_icons_html = '<div ' . ( $instance['type'] == 'floating' ? ' style="position:fixed; top:10px; right:10px; width:' . ( isset( $instance['size'] ) ? intval( $instance['size'] ) : 32 ) . 'px;"' : '' ) . ' class="heateor_sss_' . $check_theme . 'follow_icons_container' . ( isset( $instance['bottom_mobile_sharing'] ) ? ' heateor_sss_bottom_follow' : '' ) . '">';
|
658 |
if ( ! empty( $instance['title'] ) ) {
|
659 |
$title = apply_filters( 'widget_title', $instance[ 'title' ] );
|
660 |
+
$follow_icons_html .= $before_title;
|
661 |
if ( $instance['type'] == 'floating' ) {
|
662 |
+
$follow_icons_html .= '<div class="heateor_sss_follow_icons_title" style="text-align:center;font-size:' . intval( $instance['size'] )*30/100 . 'px">';
|
663 |
}
|
664 |
+
$follow_icons_html .= esc_html( $title );
|
665 |
if ( $instance['type'] == 'floating' ) {
|
666 |
+
$follow_icons_html .= '</div>';
|
667 |
}
|
668 |
+
$follow_icons_html .= $after_title;
|
669 |
}
|
670 |
|
671 |
+
$follow_icons_html .= $this->follow_icons( $instance );
|
672 |
|
673 |
+
$follow_icons_html .= '<div style="clear:both"></div>';
|
674 |
+
$follow_icons_html .= '</div>';
|
675 |
+
|
676 |
+
global $heateor_sss_allowed_tags;
|
677 |
+
echo wp_kses( $follow_icons_html, $heateor_sss_allowed_tags );
|
678 |
|
679 |
if ( ! empty( $instance['after_widget_content'] ) ) {
|
680 |
echo '<div>' . esc_html( $instance['after_widget_content'] ) . '</div>';
|
includes/class-sassy-social-share.php
CHANGED
@@ -213,6 +213,8 @@ class Sassy_Social_Share {
|
|
213 |
add_filter( 'heateor_sss_target_share_url_filter', array( $plugin_public, 'append_mycred_referral_id' ), 10, 3 );
|
214 |
}
|
215 |
|
|
|
|
|
216 |
}
|
217 |
|
218 |
/**
|
213 |
add_filter( 'heateor_sss_target_share_url_filter', array( $plugin_public, 'append_mycred_referral_id' ), 10, 3 );
|
214 |
}
|
215 |
|
216 |
+
add_filter( 'safe_style_css', array( $plugin_public, 'add_safe_styles' ), 10, 1 );
|
217 |
+
|
218 |
}
|
219 |
|
220 |
/**
|
public/class-sassy-social-share-public.php
CHANGED
@@ -540,7 +540,7 @@ class Sassy_Social_Share_Public {
|
|
540 |
}
|
541 |
|
542 |
if ( isset( $this->options[$sharing_type . '_more'] ) && ! $this->is_amp_page() ) {
|
543 |
-
$li_items .= '<a class="heateor_sss_more" title="More"
|
544 |
if ( $display_count ) {
|
545 |
$li_items .= $counter_container_init_html . '"> ' . $counter_container_end_html;
|
546 |
}
|
@@ -753,7 +753,8 @@ class Sassy_Social_Share_Public {
|
|
753 |
|
754 |
$horizontal_div = "<div class='heateorSssClear'></div><div " . $sharing_container_style . " class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' " . ( $this->is_amp_page() ? "" : "data-heateor-sss-href='" . esc_url( isset( $share_count_url ) && $share_count_url ? $share_count_url : $post_url ) . "'" ) . ( ( $this->get_cached_share_count( $this->share_count_transient_id ) === false || $this->is_amp_page() ) ? '' : ' data-heateor-sss-no-counts="1"' ) . "><div class='heateor_sss_sharing_title' " . $sharing_title_style . " >" . esc_html( ucfirst( get_option( 'heateor_sss' )['title'] ) ) . "</div>" . $sharing_div . "</div><div class='heateorSssClear'></div>";
|
755 |
if ( $sharing_bp_activity ) {
|
756 |
-
|
|
|
757 |
}
|
758 |
// show horizontal sharing
|
759 |
if ( ( isset( $this->options['home'] ) && is_front_page() ) || ( isset( $this->options['category'] ) && is_category() ) || ( isset( $this->options['archive'] ) && is_archive() ) || ( isset( $this->options['post'] ) && is_single() && isset( $post->post_type ) && $post->post_type == 'post' ) || ( isset( $this->options['page'] ) && is_page() && isset( $post->post_type ) && $post->post_type == 'page' ) || ( isset( $this->options['excerpt'] ) && (is_home() || current_filter() == 'the_excerpt' ) ) || ( isset( $this->options['bb_reply'] ) && current_filter() == 'bbp_get_reply_content' ) || ( isset( $this->options['bb_forum'] ) && ( isset( $this->options['top'] ) && current_filter() == 'bbp_template_before_single_forum' || isset( $this->options['bottom'] ) && current_filter() == 'bbp_template_after_single_forum' ) ) || ( isset( $this->options['bb_topic'] ) && ( isset( $this->options['top'] ) && in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic' ) ) || isset( $this->options['bottom'] ) && in_array( current_filter(), array( 'bbp_template_after_single_topic', 'bbp_template_after_lead_topic' ) ) ) ) || ( isset( $this->options['woocom_shop'] ) && current_filter() == 'woocommerce_after_shop_loop_item' ) || ( isset( $this->options['woocom_product'] ) && current_filter() == 'woocommerce_share' ) || ( isset( $this->options['woocom_thankyou'] ) && current_filter() == 'woocommerce_thankyou' ) || (current_filter() == 'bp_before_group_header' && isset( $this->options['bp_group'] ) ) ) {
|
@@ -833,7 +834,8 @@ class Sassy_Social_Share_Public {
|
|
833 |
// show vertical sharing
|
834 |
if ( ( isset( $this->options['vertical_home'] ) && is_front_page() ) || ( isset( $this->options['vertical_category'] ) && is_category() ) || ( isset( $this->options['vertical_archive'] ) && is_archive() ) || ( isset( $this->options['vertical_post'] ) && is_single() && isset( $post->post_type ) && $post->post_type == 'post' ) || ( isset( $this->options['vertical_page'] ) && is_page() && isset( $post->post_type ) && $post->post_type == 'page' ) || ( isset( $this->options['vertical_excerpt'] ) && (is_home() || current_filter() == 'the_excerpt' ) ) || ( isset( $this->options['vertical_bb_forum'] ) && current_filter() == 'bbp_template_before_single_forum' ) || ( isset( $this->options['vertical_bb_topic'] ) && in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic' ) ) ) || (current_filter() == 'bp_before_group_header' && isset( $this->options['vertical_bp_group'] ) ) ) {
|
835 |
if ( in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic', 'bbp_template_before_single_forum', 'bp_before_group_header' ) ) ) {
|
836 |
-
|
|
|
837 |
} else {
|
838 |
if ( is_front_page() ) {
|
839 |
if ( current_filter() == 'the_content' ) {
|
@@ -1463,4 +1465,28 @@ class Sassy_Social_Share_Public {
|
|
1463 |
return $post_url;
|
1464 |
|
1465 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1466 |
}
|
540 |
}
|
541 |
|
542 |
if ( isset( $this->options[$sharing_type . '_more'] ) && ! $this->is_amp_page() ) {
|
543 |
+
$li_items .= '<a class="heateor_sss_more" title="More" rel="nofollow noopener" style="font-size: 32px!important;border:0;box-shadow:none;display:inline-block!important;font-size:16px;padding:0 4px;vertical-align: middle;display:inline;">';
|
544 |
if ( $display_count ) {
|
545 |
$li_items .= $counter_container_init_html . '"> ' . $counter_container_end_html;
|
546 |
}
|
753 |
|
754 |
$horizontal_div = "<div class='heateorSssClear'></div><div " . $sharing_container_style . " class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' " . ( $this->is_amp_page() ? "" : "data-heateor-sss-href='" . esc_url( isset( $share_count_url ) && $share_count_url ? $share_count_url : $post_url ) . "'" ) . ( ( $this->get_cached_share_count( $this->share_count_transient_id ) === false || $this->is_amp_page() ) ? '' : ' data-heateor-sss-no-counts="1"' ) . "><div class='heateor_sss_sharing_title' " . $sharing_title_style . " >" . esc_html( ucfirst( get_option( 'heateor_sss' )['title'] ) ) . "</div>" . $sharing_div . "</div><div class='heateorSssClear'></div>";
|
755 |
if ( $sharing_bp_activity ) {
|
756 |
+
global $heateor_sss_allowed_tags;
|
757 |
+
echo wp_kses( $horizontal_div, $heateor_sss_allowed_tags );
|
758 |
}
|
759 |
// show horizontal sharing
|
760 |
if ( ( isset( $this->options['home'] ) && is_front_page() ) || ( isset( $this->options['category'] ) && is_category() ) || ( isset( $this->options['archive'] ) && is_archive() ) || ( isset( $this->options['post'] ) && is_single() && isset( $post->post_type ) && $post->post_type == 'post' ) || ( isset( $this->options['page'] ) && is_page() && isset( $post->post_type ) && $post->post_type == 'page' ) || ( isset( $this->options['excerpt'] ) && (is_home() || current_filter() == 'the_excerpt' ) ) || ( isset( $this->options['bb_reply'] ) && current_filter() == 'bbp_get_reply_content' ) || ( isset( $this->options['bb_forum'] ) && ( isset( $this->options['top'] ) && current_filter() == 'bbp_template_before_single_forum' || isset( $this->options['bottom'] ) && current_filter() == 'bbp_template_after_single_forum' ) ) || ( isset( $this->options['bb_topic'] ) && ( isset( $this->options['top'] ) && in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic' ) ) || isset( $this->options['bottom'] ) && in_array( current_filter(), array( 'bbp_template_after_single_topic', 'bbp_template_after_lead_topic' ) ) ) ) || ( isset( $this->options['woocom_shop'] ) && current_filter() == 'woocommerce_after_shop_loop_item' ) || ( isset( $this->options['woocom_product'] ) && current_filter() == 'woocommerce_share' ) || ( isset( $this->options['woocom_thankyou'] ) && current_filter() == 'woocommerce_thankyou' ) || (current_filter() == 'bp_before_group_header' && isset( $this->options['bp_group'] ) ) ) {
|
834 |
// show vertical sharing
|
835 |
if ( ( isset( $this->options['vertical_home'] ) && is_front_page() ) || ( isset( $this->options['vertical_category'] ) && is_category() ) || ( isset( $this->options['vertical_archive'] ) && is_archive() ) || ( isset( $this->options['vertical_post'] ) && is_single() && isset( $post->post_type ) && $post->post_type == 'post' ) || ( isset( $this->options['vertical_page'] ) && is_page() && isset( $post->post_type ) && $post->post_type == 'page' ) || ( isset( $this->options['vertical_excerpt'] ) && (is_home() || current_filter() == 'the_excerpt' ) ) || ( isset( $this->options['vertical_bb_forum'] ) && current_filter() == 'bbp_template_before_single_forum' ) || ( isset( $this->options['vertical_bb_topic'] ) && in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic' ) ) ) || (current_filter() == 'bp_before_group_header' && isset( $this->options['vertical_bp_group'] ) ) ) {
|
836 |
if ( in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic', 'bbp_template_before_single_forum', 'bp_before_group_header' ) ) ) {
|
837 |
+
global $heateor_sss_allowed_tags;
|
838 |
+
echo wp_kses( $vertical_div, $heateor_sss_allowed_tags );
|
839 |
} else {
|
840 |
if ( is_front_page() ) {
|
841 |
if ( current_filter() == 'the_content' ) {
|
1465 |
return $post_url;
|
1466 |
|
1467 |
}
|
1468 |
+
|
1469 |
+
/**
|
1470 |
+
* Add safe styles to the existing list
|
1471 |
+
*
|
1472 |
+
* @since 3.3.34
|
1473 |
+
*/
|
1474 |
+
public function add_safe_styles( $styles ) {
|
1475 |
+
|
1476 |
+
$styles[] = 'display';
|
1477 |
+
$styles[] = 'position';
|
1478 |
+
$styles[] = 'left';
|
1479 |
+
$styles[] = 'right';
|
1480 |
+
$styles[] = 'box-shadow';
|
1481 |
+
$styles[] = 'opacity';
|
1482 |
+
$styles[] = 'background-repeat';
|
1483 |
+
$styles[] = 'box-sizing';
|
1484 |
+
$styles[] = '-webkit-clip-path';
|
1485 |
+
$styles[] = 'clip';
|
1486 |
+
$styles[] = 'visibility';
|
1487 |
+
|
1488 |
+
return $styles;
|
1489 |
+
|
1490 |
+
}
|
1491 |
+
|
1492 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.heateor.com/donate/?action=Sassy+Social+Share
|
|
4 |
Tags: social share, social sharing, social media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, facebook like, twitter tweet, whatsapp share, line share, gab share, gab, parler share, gettr, gettr share, mewe share, mewe
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 5.8.2
|
7 |
-
Stable tag: 3.3.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, Whatsapp, Parler, Gab, Gettr and over 100 more.
|
@@ -123,6 +123,10 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
|
|
123 |
4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
|
124 |
|
125 |
== Changelog ==
|
|
|
|
|
|
|
|
|
126 |
= 3.3.33 [23 November 2021] =
|
127 |
* [Bugfix] Social share widet, Social Media follow widget and social share icons at BuddyPress pages were causing fatal errors after previous update
|
128 |
|
@@ -1118,7 +1122,11 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
|
|
1118 |
= 3.3.32 [23 November 2021] =
|
1119 |
* [Improvement] Code improvement
|
1120 |
* [Improvement] Removed unnecessary CSS from the public.css file
|
1121 |
-
* [Improvement] Admin UI improvements
|
1122 |
|
1123 |
= 3.3.33 [23 November 2021] =
|
1124 |
-
* [Bugfix] Social share widet, Social Media follow widget and social share icons at BuddyPress pages were causing fatal errors after previous update
|
|
|
|
|
|
|
|
4 |
Tags: social share, social sharing, social media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, facebook like, twitter tweet, whatsapp share, line share, gab share, gab, parler share, gettr, gettr share, mewe share, mewe
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 5.8.2
|
7 |
+
Stable tag: 3.3.34
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, Whatsapp, Parler, Gab, Gettr and over 100 more.
|
123 |
4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
|
124 |
|
125 |
== Changelog ==
|
126 |
+
= 3.3.34 [26 November 2021] =
|
127 |
+
* [Improvement] Code improvement
|
128 |
+
* [Improvement] Admin UI improvement
|
129 |
+
|
130 |
= 3.3.33 [23 November 2021] =
|
131 |
* [Bugfix] Social share widet, Social Media follow widget and social share icons at BuddyPress pages were causing fatal errors after previous update
|
132 |
|
1122 |
= 3.3.32 [23 November 2021] =
|
1123 |
* [Improvement] Code improvement
|
1124 |
* [Improvement] Removed unnecessary CSS from the public.css file
|
1125 |
+
* [Improvement] Admin UI improvements
|
1126 |
|
1127 |
= 3.3.33 [23 November 2021] =
|
1128 |
+
* [Bugfix] Social share widet, Social Media follow widget and social share icons at BuddyPress pages were causing fatal errors after previous update
|
1129 |
+
|
1130 |
+
= 3.3.34 [26 November 2021] =
|
1131 |
+
* [Improvement] Code improvement
|
1132 |
+
* [Improvement] Admin UI improvement
|
sassy-social-share.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Plugin Name: Sassy Social Share
|
7 |
* Plugin URI: https://www.heateor.com
|
8 |
* Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp and over 100 more
|
9 |
-
* Version: 3.3.
|
10 |
* Author: Team Heateor
|
11 |
* Author URI: https://www.heateor.com
|
12 |
* Text Domain: sassy-social-share
|
@@ -20,12 +20,121 @@ if ( ! defined( 'WPINC' ) ) {
|
|
20 |
die;
|
21 |
}
|
22 |
|
23 |
-
define( 'HEATEOR_SSS_VERSION', '3.3.
|
24 |
define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
25 |
|
26 |
// plugin core class object
|
27 |
$heateor_sss = null;
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
/**
|
30 |
* Save default plugin options
|
31 |
*/
|
6 |
* Plugin Name: Sassy Social Share
|
7 |
* Plugin URI: https://www.heateor.com
|
8 |
* Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp and over 100 more
|
9 |
+
* Version: 3.3.34
|
10 |
* Author: Team Heateor
|
11 |
* Author URI: https://www.heateor.com
|
12 |
* Text Domain: sassy-social-share
|
20 |
die;
|
21 |
}
|
22 |
|
23 |
+
define( 'HEATEOR_SSS_VERSION', '3.3.34' );
|
24 |
define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
25 |
|
26 |
// plugin core class object
|
27 |
$heateor_sss = null;
|
28 |
|
29 |
+
// attributes to allow in the HTML of the social share and social media follow icons
|
30 |
+
$heateor_sss_default_attribs = array(
|
31 |
+
'id' => array(),
|
32 |
+
'class' => array(),
|
33 |
+
'title' => array(),
|
34 |
+
'style' => array(),
|
35 |
+
'data' => array(),
|
36 |
+
'focusable' => array(),
|
37 |
+
'width' => array(),
|
38 |
+
'height' => array(),
|
39 |
+
'opacity' => array(),
|
40 |
+
'data-heateor-sss-href' => array(),
|
41 |
+
'data-heateor-sss-no-counts' => array(),
|
42 |
+
'data-heateor-ss-offset' => array(),
|
43 |
+
'data-heateor-sss-st-count' => array()
|
44 |
+
);
|
45 |
+
|
46 |
+
// tags to allow in the HTML of the social share and social media follow icons
|
47 |
+
$heateor_sss_allowed_tags = array(
|
48 |
+
'div' => array_merge( $heateor_sss_default_attribs, array(
|
49 |
+
'data-href' => array(),
|
50 |
+
'data-layout' => array(),
|
51 |
+
'data-action' => array(),
|
52 |
+
'data-show-faces' => array(),
|
53 |
+
'data-share' => array(),
|
54 |
+
) ),
|
55 |
+
'span' => array_merge( $heateor_sss_default_attribs, array(
|
56 |
+
'onClick' => array(),
|
57 |
+
'onclick' => array(),
|
58 |
+
) ),
|
59 |
+
'p' => $heateor_sss_default_attribs,
|
60 |
+
'a' => array_merge( $heateor_sss_default_attribs, array(
|
61 |
+
'href' => array( 'Javascript:void(0)', 'javascript:void(0)' ),
|
62 |
+
'onClick' => array(),
|
63 |
+
'onclick' => array(),
|
64 |
+
'target' => array( '_blank', '_top' ),
|
65 |
+
'rel' => array(),
|
66 |
+
'data-url' => array(),
|
67 |
+
'data-counturl' => array(),
|
68 |
+
'data-text' => array(),
|
69 |
+
'data-via' => array(),
|
70 |
+
'data-lang' => array(),
|
71 |
+
) ),
|
72 |
+
'svg' => array_merge( $heateor_sss_default_attribs, array(
|
73 |
+
'viewBox' => array(),
|
74 |
+
'viewbox' => array(),
|
75 |
+
'aria-hidden' => array(),
|
76 |
+
'xmlns' => array(),
|
77 |
+
'xml:space' => array(),
|
78 |
+
'version' => array(),
|
79 |
+
'xmlns:xlink' => array(),
|
80 |
+
) ),
|
81 |
+
'script' => array_merge( $heateor_sss_default_attribs, array(
|
82 |
+
'src' => array(),
|
83 |
+
'type' => array(),
|
84 |
+
'data-url' => array(),
|
85 |
+
'data-counter' => array(),
|
86 |
+
'async' => array(),
|
87 |
+
) ),
|
88 |
+
'u' => $heateor_sss_default_attribs,
|
89 |
+
'i' => $heateor_sss_default_attribs,
|
90 |
+
'q' => $heateor_sss_default_attribs,
|
91 |
+
'b' => $heateor_sss_default_attribs,
|
92 |
+
'ul' => $heateor_sss_default_attribs,
|
93 |
+
'ol' => $heateor_sss_default_attribs,
|
94 |
+
'li' => $heateor_sss_default_attribs,
|
95 |
+
'br' => $heateor_sss_default_attribs,
|
96 |
+
'hr' => $heateor_sss_default_attribs,
|
97 |
+
'strong' => $heateor_sss_default_attribs,
|
98 |
+
'blockquote' => $heateor_sss_default_attribs,
|
99 |
+
'del' => $heateor_sss_default_attribs,
|
100 |
+
'strike' => $heateor_sss_default_attribs,
|
101 |
+
'em' => $heateor_sss_default_attribs,
|
102 |
+
'code' => $heateor_sss_default_attribs,
|
103 |
+
'path' => array_merge( $heateor_sss_default_attribs, array(
|
104 |
+
'stroke-width' => array(),
|
105 |
+
'stroke' => array(),
|
106 |
+
'fill' => array(),
|
107 |
+
'd' => array()
|
108 |
+
) ),
|
109 |
+
'circle' => array_merge( $heateor_sss_default_attribs, array(
|
110 |
+
'stroke-width' => array(),
|
111 |
+
'stroke' => array(),
|
112 |
+
'fill' => array(),
|
113 |
+
'cx' => array(),
|
114 |
+
'cy' => array(),
|
115 |
+
'r' => array()
|
116 |
+
) ),
|
117 |
+
'polygon' => array_merge( $heateor_sss_default_attribs, array(
|
118 |
+
'stroke-width' => array(),
|
119 |
+
'stroke' => array(),
|
120 |
+
'fill' => array(),
|
121 |
+
'points' => array()
|
122 |
+
) ),
|
123 |
+
'g' => array_merge( $heateor_sss_default_attribs, array(
|
124 |
+
'stroke-width' => array(),
|
125 |
+
'stroke' => array(),
|
126 |
+
'stroke-linecap' => array(),
|
127 |
+
'stroke-miterlimit' => array(),
|
128 |
+
'fill' => array(),
|
129 |
+
'fill' => array(),
|
130 |
+
'fill' => array(),
|
131 |
+
'fill' => array(),
|
132 |
+
) ),
|
133 |
+
'style' => array_merge( $heateor_sss_default_attribs, array(
|
134 |
+
'type' => array(),
|
135 |
+
) )
|
136 |
+
);
|
137 |
+
|
138 |
/**
|
139 |
* Save default plugin options
|
140 |
*/
|