- Timestamp:
- 04/15/2018 09:15:36 AM (8 years ago)
- Location:
- shariff/trunk
- Files:
-
- 5 edited
-
changelog.txt (modified) (4 diffs)
-
js/shariff-popup.js (modified) (1 diff)
-
js/shariff-popup.min.js (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
shariff.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
shariff/trunk/changelog.txt
r1858285 r1858506 21 21 - fixed a missing closing tag under certain conditions (thanks to Pat, @fortythousandmiles) 22 22 - removed GooglePlus share counts due to Google removing the API 23 - removed the mail form due to technical and legal due diligence24 23 - added Czech translation of the buttons 25 24 - updated a lot of button translations … … 32 31 - minor css improvements 33 32 - minor security improvements 33 - removed the mail form due to technical and legal due diligence 34 - if you need the mail form functionality, please stick to version 4.3 35 - https://downloads.wordpress.org/plugin/shariff.4.3.0.zip 34 36 35 37 = 4.3.0 = … … 100 102 = 4.0.6 = 101 103 - fixed an error in combination with bbpress 102 - fixed a berror on very old PHP versions104 - fixed an error on very old PHP versions 103 105 - fixed ranking tab 104 106 - minor css improvements … … 116 118 - fixed type error on totalnumber when cache is empty 117 119 - fixed share count requests when WordPress is installed in a subdirectory 118 - fixed url encoding of share url, title and media120 - fixed url encoding of share url, title and media 119 121 - added width and height to SVGs to prevent large initial icons prior to css 120 122 - new classes shariff-buttons and shariff-link added -
shariff/trunk/js/shariff-popup.js
r1858285 r1858506 16 16 var o = screen.width/2-350; 17 17 var r = screen.height/2-250; 18 var l = t.length;19 18 // open popup if not one of the special services 20 19 if ( t.substring( 0, 7 ) !== 'mailto:' && t.substring( 0, 9 ) !== "whatsapp:" && t !== 'javascript:window.print()' && t !== 'http://ct.de/-2467514' ) { -
shariff/trunk/js/shariff-popup.min.js
r1858285 r1858506 1 function shariff_click(){var b=document.getElementsByClassName("shariff-link");for(var a=0;a<b.length;a++){b[a].addEventListener("click",shariff_popup,false)}}function shariff_popup( b){var c=this.getAttribute("href");var e=screen.width/2-350;var d=screen.height/2-250;var a=c.length;if(c.substring(0,7)!=="mailto:"&&c.substring(0,9)!=="whatsapp:"&&c!=="javascript:window.print()"&&c!=="http://ct.de/-2467514"){b.preventDefault();window.open(c,"_blank","height=500, width=700, status=yes, toolbar=no, menubar=no, location=no, top="+d+", left="+e);return false}}document.addEventListener("DOMContentLoaded",shariff_click,false);1 function shariff_click(){var b=document.getElementsByClassName("shariff-link");for(var a=0;a<b.length;a++){b[a].addEventListener("click",shariff_popup,false)}}function shariff_popup(a){var b=this.getAttribute("href");var d=screen.width/2-350;var c=screen.height/2-250;if(b.substring(0,7)!=="mailto:"&&b.substring(0,9)!=="whatsapp:"&&b!=="javascript:window.print()"&&b!=="http://ct.de/-2467514"){a.preventDefault();window.open(b,"_blank","height=500, width=700, status=yes, toolbar=no, menubar=no, location=no, top="+c+", left="+d);return false}}document.addEventListener("DOMContentLoaded",shariff_click,false); -
shariff/trunk/readme.txt
r1858296 r1858506 5 5 Requires PHP: 5.6 6 6 Tested up to: 4.9 7 Stable tag: 4. 3.07 Stable tag: 4.4.0 8 8 License: MIT 9 9 License URI: http://opensource.org/licenses/mit … … 187 187 - fixed a missing closing tag under certain conditions (thanks to Pat, @fortythousandmiles) 188 188 - removed GooglePlus share counts due to Google removing the API 189 - removed the mail form due to technical and legal due diligence190 189 - added Czech translation of the buttons 191 190 - updated a lot of button translations … … 198 197 - minor css improvements 199 198 - minor security improvements 199 - removed the mail form due to technical and legal due diligence 200 - if you need the mail form functionality, please stick to version 4.3 201 - https://downloads.wordpress.org/plugin/shariff.4.3.0.zip 200 202 201 203 = 4.3.0 = -
shariff/trunk/shariff.php
r1858303 r1858506 851 851 // Sets the share title. 852 852 if ( array_key_exists( 'title', $atts ) ) { 853 $share_title = rawurlencode( $atts['title']);854 } else { 855 $share_title = rawurlencode( html_entity_decode( get_the_title(), ENT_COMPAT, 'UTF-8' ) );853 $share_title = rawurlencode( wp_strip_all_tags( $atts['title'] ) ); 854 } else { 855 $share_title = rawurlencode( html_entity_decode( wp_strip_all_tags( get_the_title() ), ENT_COMPAT, 'UTF-8' ) ); 856 856 } 857 857
Note: See TracChangeset
for help on using the changeset viewer.