- Timestamp:
- 01/05/2025 01:26:59 PM (15 months ago)
- Location:
- shariff
- Files:
-
- 2 added
- 8 edited
- 1 copied
-
tags/4.6.15 (copied) (copied from shariff/trunk)
-
tags/4.6.15/admin/admin-menu.php (modified) (6 diffs)
-
tags/4.6.15/changelog.txt (modified) (1 diff)
-
tags/4.6.15/readme.txt (modified) (2 diffs)
-
tags/4.6.15/services/shariff-bluesky.php (added)
-
tags/4.6.15/shariff.php (modified) (2 diffs)
-
trunk/admin/admin-menu.php (modified) (6 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/services/shariff-bluesky.php (added)
-
trunk/shariff.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shariff/tags/4.6.15/admin/admin-menu.php
r3103137 r3217191 313 313 ); 314 314 315 // Bluesky via. 316 add_settings_field( 317 'shariff3uu_text_blueskyvia', 318 __( 'Bluesky username for the via tag:', 'shariff' ), 319 'shariff3uu_text_blueskyvia_render', 320 'shariff3uu_advanced', 321 'shariff3uu_advanced_section' 322 ); 323 315 324 // Mastodon via. 316 325 add_settings_field( … … 693 702 if ( isset( $input['twitter_via'] ) ) { 694 703 $valid['twitter_via'] = str_replace( '@', '', sanitize_text_field( $input['twitter_via'] ) ); 704 } 705 if ( isset( $input['bluesky_via'] ) ) { 706 $valid['bluesky_via'] = ltrim( sanitize_text_field( $input['bluesky_via'] ), "@"); 695 707 } 696 708 if ( isset( $input['mastodon_via'] ) ) { … … 841 853 } 842 854 echo '<input type="text" name="shariff3uu_basic[services]" value="' . esc_html( $services ) . '" size="90" placeholder="mastodon|facebook|linkedin|info">'; 843 echo '<p><code>bitcoin|b uffer|diaspora|facebook|flipboard|info|linkedin|mailto|mastodon|mewe|mix</code></p>';844 echo '<p><code> odnoklassniki|patreon|paypal|paypalme|pinterest|pocket|printer|reddit|rss|sms</code></p>';845 echo '<p><code> telegram|threema|tumblr|twitter|vk|wallabag|weibo|whatsapp|xing</code></p>';855 echo '<p><code>bitcoin|bluesky|buffer|diaspora|facebook|flipboard|info|linkedin|mailto|mastodon</code></p>'; 856 echo '<p><code>|mewe|mix|odnoklassniki|patreon|paypal|paypalme|pinterest|pocket|printer|reddit</code></p>'; 857 echo '<p><code>|rss|sms|telegram|threema|tumblr|twitter|vk|wallabag|weibo|whatsapp|xing</code></p>'; 846 858 echo '<p>' . esc_html__( 'Use the pipe sign | (Alt Gr + < or ⌥ + 7) between two or more services.', 'shariff' ) . '</p>'; 847 859 } … … 1325 1337 } 1326 1338 echo '<input type="text" name="shariff3uu_advanced[twitter_via]" value="' . esc_html( $twitter_via ) . '" size="50" placeholder="' . esc_html__( 'username', 'shariff' ) . '">'; 1339 } 1340 1341 /** 1342 * Bluesky via attribute. 1343 */ 1344 function shariff3uu_text_blueskyvia_render() { 1345 if ( isset( $GLOBALS['shariff3uu_advanced']['bluesky_via'] ) ) { 1346 $bluesky_via = $GLOBALS['shariff3uu_advanced']['bluesky_via']; 1347 } else { 1348 $bluesky_via = ''; 1349 } 1350 echo '<input type="text" name="shariff3uu_advanced[bluesky_via]" value="' . esc_html( $bluesky_via ) . '" size="50" placeholder="' . esc_html__( 'username', 'shariff' ) . '">'; 1327 1351 } 1328 1352 … … 1718 1742 echo '<div style="display:table-row">'; 1719 1743 echo '<div style="display:table-cell;border:1px solid;padding:10px">services</div>'; 1720 echo '<div style="display:table-cell;border:1px solid;padding:10px">bitcoin<br>b uffer<br>diaspora<br>facebook<br>flipboard<br>info<br>linkedin<br>mailto<br>mastodon<br>mewe<br>mix<br>odnoklassniki<br>patreon<br>paypal<br>paypalme<br>pinterest<br>pocket<br>printer<br>reddit<br>rss<br>sms<br>telegram<br>threema<br>tumblr<br>twitter<br>vk<br>wallabag<br>weibo<br>whatsapp<br>xing</div>';1744 echo '<div style="display:table-cell;border:1px solid;padding:10px">bitcoin<br>blueksy<br>buffer<br>diaspora<br>facebook<br>flipboard<br>info<br>linkedin<br>mailto<br>mastodon<br>mewe<br>mix<br>odnoklassniki<br>patreon<br>paypal<br>paypalme<br>pinterest<br>pocket<br>printer<br>reddit<br>rss<br>sms<br>telegram<br>threema<br>tumblr<br>twitter<br>vk<br>wallabag<br>weibo<br>whatsapp<br>xing</div>'; 1721 1745 echo '<div style="display:table-cell;border:1px solid;padding:10px">mastodon|facebook|linkedin|info</div>'; 1722 1746 echo '<div style="display:table-cell;border:1px solid;padding:10px">[shariff services="facebook|mastodon|mailto"]</div>'; … … 1834 1858 echo '<div style="display:table-cell;border:1px solid;padding:10px">[shariff twitter_via="your_twittername"]</div>'; 1835 1859 echo '<div style="display:table-cell;border:1px solid;padding:10px">' . esc_html__( 'Sets the Twitter via tag.', 'shariff' ) . '</div>'; 1860 echo '</div>'; 1861 echo '<div style="display:table-row">'; 1862 echo '<div style="display:table-cell;border:1px solid;padding:10px">bluesky_via</div>'; 1863 echo '<div style="display:table-cell;border:1px solid;padding:10px"></div>'; 1864 echo '<div style="display:table-cell;border:1px solid;padding:10px"></div>'; 1865 echo '<div style="display:table-cell;border:1px solid;padding:10px">[shariff bluesky_via="your_blueskyhandle"]</div>'; 1866 echo '<div style="display:table-cell;border:1px solid;padding:10px">' . esc_html__( 'Sets the Bluesky via tag.', 'shariff' ) . '</div>'; 1836 1867 echo '</div>'; 1837 1868 // Mastodon_via. -
shariff/tags/4.6.15/changelog.txt
r3047668 r3217191 2 2 3 3 == Changelog == 4 5 = 4.6.15 = 6 - added Bluesky integration (many thanks to Robert / seyfro ) 7 8 = 4.6.14 = 9 - removed Reddit from the share counts because requests without API keys are blocked now 10 - fix to avoid unauthenticated local file inclusion. Many thanks to haidv35 11 12 = 4.6.13 = 13 - cleanup code (please check the basic options menu. We changed some 14 internal names of variables that differ from original WP namings for 15 post/page/custom type. This should have been migrated with this update but 16 please have a look on your 'baisc options'. 17 - fix possible XSS with the (internal) variabe 'timestamp' (thanks to Ngo Thien An for the hint) 18 19 = 4.6.12 = 20 - French translation for some service corrected (thanks to Ensam57) 21 - additional security fix after code review 4 22 5 23 = 4.6.11 = -
shariff/tags/4.6.15/readme.txt
r3103137 r3217191 4 4 Requires at least: 4.9 5 5 Requires PHP: 7.4 6 Tested up to: 6. 57 Stable tag: 4.6.1 46 Tested up to: 6.7 7 Stable tag: 4.6.15 8 8 License: MIT 9 9 License URI: http://opensource.org/licenses/mit … … 145 145 146 146 == Changelog == 147 148 = 4.6.15 = 149 - added Bluesky integration 150 147 151 = 4.6.14 = 148 - removed Reddit from the share counts because requests without API keys are 149 blocked now 152 - removed Reddit from the share counts because requests without API keys are blocked now 150 153 - fix to avoid unauthenticated local file inclusion. Many thanks to haidv35 151 154 -
shariff/tags/4.6.15/shariff.php
r3103143 r3217191 35 35 function shariff3uu_update() { 36 36 // Adjust code version. 37 $code_version = '4.6.1 4';37 $code_version = '4.6.15'; 38 38 39 39 // Get basic options. … … 65 65 On our website we offer you the possibility to use so called "Social Media Buttons". To protect your data, we use a solution called "Shariff". Hereby the share buttons are implemented as static images, which contain a link to the corresponding social network site. If you click on such a button, you will be redirected to the respective social network site in the same way, as normal links would do as well. Only in that moment of time the provider of the social network site will get information about you, for example your IP address. If you do not click on such a share button, no data will be transmitted. Information about the collection and usage of your date on the social network sites can be found in the corresponding terms of use of the respective provider. More information about the plugin and the Shariff solution can be found here: <a href="https://wordpress.org/plugins/shariff/">https://wordpress.org/plugins/shariff/</a> 66 66 67 On our website we offer share buttons for the following services / companies: Diaspora, Facebook, Flattr, Flipboard, LinkedIn, Mastodon, Mix, Odnoklassniki, Patreon, PayPal, Pinterest, Pocket, Qzone, Reddit, Telegram, TencentWeibo, Threema, Tumblr, Twitter, VK, Wallabag, Weibo, WhatsApp, Xing.',67 On our website we offer share buttons for the following services / companies: Bluesky, Diaspora, Facebook, Flattr, Flipboard, LinkedIn, Mastodon, Mix, Odnoklassniki, Patreon, PayPal, Pinterest, Pocket, Qzone, Reddit, Telegram, TencentWeibo, Threema, Tumblr, Twitter, VK, Wallabag, Weibo, WhatsApp, Xing.', 68 68 'shariff' 69 69 ); -
shariff/trunk/admin/admin-menu.php
r3103137 r3217191 313 313 ); 314 314 315 // Bluesky via. 316 add_settings_field( 317 'shariff3uu_text_blueskyvia', 318 __( 'Bluesky username for the via tag:', 'shariff' ), 319 'shariff3uu_text_blueskyvia_render', 320 'shariff3uu_advanced', 321 'shariff3uu_advanced_section' 322 ); 323 315 324 // Mastodon via. 316 325 add_settings_field( … … 693 702 if ( isset( $input['twitter_via'] ) ) { 694 703 $valid['twitter_via'] = str_replace( '@', '', sanitize_text_field( $input['twitter_via'] ) ); 704 } 705 if ( isset( $input['bluesky_via'] ) ) { 706 $valid['bluesky_via'] = ltrim( sanitize_text_field( $input['bluesky_via'] ), "@"); 695 707 } 696 708 if ( isset( $input['mastodon_via'] ) ) { … … 841 853 } 842 854 echo '<input type="text" name="shariff3uu_basic[services]" value="' . esc_html( $services ) . '" size="90" placeholder="mastodon|facebook|linkedin|info">'; 843 echo '<p><code>bitcoin|b uffer|diaspora|facebook|flipboard|info|linkedin|mailto|mastodon|mewe|mix</code></p>';844 echo '<p><code> odnoklassniki|patreon|paypal|paypalme|pinterest|pocket|printer|reddit|rss|sms</code></p>';845 echo '<p><code> telegram|threema|tumblr|twitter|vk|wallabag|weibo|whatsapp|xing</code></p>';855 echo '<p><code>bitcoin|bluesky|buffer|diaspora|facebook|flipboard|info|linkedin|mailto|mastodon</code></p>'; 856 echo '<p><code>|mewe|mix|odnoklassniki|patreon|paypal|paypalme|pinterest|pocket|printer|reddit</code></p>'; 857 echo '<p><code>|rss|sms|telegram|threema|tumblr|twitter|vk|wallabag|weibo|whatsapp|xing</code></p>'; 846 858 echo '<p>' . esc_html__( 'Use the pipe sign | (Alt Gr + < or ⌥ + 7) between two or more services.', 'shariff' ) . '</p>'; 847 859 } … … 1325 1337 } 1326 1338 echo '<input type="text" name="shariff3uu_advanced[twitter_via]" value="' . esc_html( $twitter_via ) . '" size="50" placeholder="' . esc_html__( 'username', 'shariff' ) . '">'; 1339 } 1340 1341 /** 1342 * Bluesky via attribute. 1343 */ 1344 function shariff3uu_text_blueskyvia_render() { 1345 if ( isset( $GLOBALS['shariff3uu_advanced']['bluesky_via'] ) ) { 1346 $bluesky_via = $GLOBALS['shariff3uu_advanced']['bluesky_via']; 1347 } else { 1348 $bluesky_via = ''; 1349 } 1350 echo '<input type="text" name="shariff3uu_advanced[bluesky_via]" value="' . esc_html( $bluesky_via ) . '" size="50" placeholder="' . esc_html__( 'username', 'shariff' ) . '">'; 1327 1351 } 1328 1352 … … 1718 1742 echo '<div style="display:table-row">'; 1719 1743 echo '<div style="display:table-cell;border:1px solid;padding:10px">services</div>'; 1720 echo '<div style="display:table-cell;border:1px solid;padding:10px">bitcoin<br>b uffer<br>diaspora<br>facebook<br>flipboard<br>info<br>linkedin<br>mailto<br>mastodon<br>mewe<br>mix<br>odnoklassniki<br>patreon<br>paypal<br>paypalme<br>pinterest<br>pocket<br>printer<br>reddit<br>rss<br>sms<br>telegram<br>threema<br>tumblr<br>twitter<br>vk<br>wallabag<br>weibo<br>whatsapp<br>xing</div>';1744 echo '<div style="display:table-cell;border:1px solid;padding:10px">bitcoin<br>blueksy<br>buffer<br>diaspora<br>facebook<br>flipboard<br>info<br>linkedin<br>mailto<br>mastodon<br>mewe<br>mix<br>odnoklassniki<br>patreon<br>paypal<br>paypalme<br>pinterest<br>pocket<br>printer<br>reddit<br>rss<br>sms<br>telegram<br>threema<br>tumblr<br>twitter<br>vk<br>wallabag<br>weibo<br>whatsapp<br>xing</div>'; 1721 1745 echo '<div style="display:table-cell;border:1px solid;padding:10px">mastodon|facebook|linkedin|info</div>'; 1722 1746 echo '<div style="display:table-cell;border:1px solid;padding:10px">[shariff services="facebook|mastodon|mailto"]</div>'; … … 1834 1858 echo '<div style="display:table-cell;border:1px solid;padding:10px">[shariff twitter_via="your_twittername"]</div>'; 1835 1859 echo '<div style="display:table-cell;border:1px solid;padding:10px">' . esc_html__( 'Sets the Twitter via tag.', 'shariff' ) . '</div>'; 1860 echo '</div>'; 1861 echo '<div style="display:table-row">'; 1862 echo '<div style="display:table-cell;border:1px solid;padding:10px">bluesky_via</div>'; 1863 echo '<div style="display:table-cell;border:1px solid;padding:10px"></div>'; 1864 echo '<div style="display:table-cell;border:1px solid;padding:10px"></div>'; 1865 echo '<div style="display:table-cell;border:1px solid;padding:10px">[shariff bluesky_via="your_blueskyhandle"]</div>'; 1866 echo '<div style="display:table-cell;border:1px solid;padding:10px">' . esc_html__( 'Sets the Bluesky via tag.', 'shariff' ) . '</div>'; 1836 1867 echo '</div>'; 1837 1868 // Mastodon_via. -
shariff/trunk/changelog.txt
r3047668 r3217191 2 2 3 3 == Changelog == 4 5 = 4.6.15 = 6 - added Bluesky integration (many thanks to Robert / seyfro ) 7 8 = 4.6.14 = 9 - removed Reddit from the share counts because requests without API keys are blocked now 10 - fix to avoid unauthenticated local file inclusion. Many thanks to haidv35 11 12 = 4.6.13 = 13 - cleanup code (please check the basic options menu. We changed some 14 internal names of variables that differ from original WP namings for 15 post/page/custom type. This should have been migrated with this update but 16 please have a look on your 'baisc options'. 17 - fix possible XSS with the (internal) variabe 'timestamp' (thanks to Ngo Thien An for the hint) 18 19 = 4.6.12 = 20 - French translation for some service corrected (thanks to Ensam57) 21 - additional security fix after code review 4 22 5 23 = 4.6.11 = -
shariff/trunk/readme.txt
r3103137 r3217191 4 4 Requires at least: 4.9 5 5 Requires PHP: 7.4 6 Tested up to: 6. 57 Stable tag: 4.6.1 46 Tested up to: 6.7 7 Stable tag: 4.6.15 8 8 License: MIT 9 9 License URI: http://opensource.org/licenses/mit … … 145 145 146 146 == Changelog == 147 148 = 4.6.15 = 149 - added Bluesky integration 150 147 151 = 4.6.14 = 148 - removed Reddit from the share counts because requests without API keys are 149 blocked now 152 - removed Reddit from the share counts because requests without API keys are blocked now 150 153 - fix to avoid unauthenticated local file inclusion. Many thanks to haidv35 151 154 -
shariff/trunk/shariff.php
r3103143 r3217191 35 35 function shariff3uu_update() { 36 36 // Adjust code version. 37 $code_version = '4.6.1 4';37 $code_version = '4.6.15'; 38 38 39 39 // Get basic options. … … 65 65 On our website we offer you the possibility to use so called "Social Media Buttons". To protect your data, we use a solution called "Shariff". Hereby the share buttons are implemented as static images, which contain a link to the corresponding social network site. If you click on such a button, you will be redirected to the respective social network site in the same way, as normal links would do as well. Only in that moment of time the provider of the social network site will get information about you, for example your IP address. If you do not click on such a share button, no data will be transmitted. Information about the collection and usage of your date on the social network sites can be found in the corresponding terms of use of the respective provider. More information about the plugin and the Shariff solution can be found here: <a href="https://wordpress.org/plugins/shariff/">https://wordpress.org/plugins/shariff/</a> 66 66 67 On our website we offer share buttons for the following services / companies: Diaspora, Facebook, Flattr, Flipboard, LinkedIn, Mastodon, Mix, Odnoklassniki, Patreon, PayPal, Pinterest, Pocket, Qzone, Reddit, Telegram, TencentWeibo, Threema, Tumblr, Twitter, VK, Wallabag, Weibo, WhatsApp, Xing.',67 On our website we offer share buttons for the following services / companies: Bluesky, Diaspora, Facebook, Flattr, Flipboard, LinkedIn, Mastodon, Mix, Odnoklassniki, Patreon, PayPal, Pinterest, Pocket, Qzone, Reddit, Telegram, TencentWeibo, Threema, Tumblr, Twitter, VK, Wallabag, Weibo, WhatsApp, Xing.', 68 68 'shariff' 69 69 );
Note: See TracChangeset
for help on using the changeset viewer.