Plugin Directory

Changeset 1858506 for shariff


Ignore:
Timestamp:
04/15/2018 09:15:36 AM (8 years ago)
Author:
starguide
Message:

Release 4.4

Location:
shariff/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • shariff/trunk/changelog.txt

    r1858285 r1858506  
    2121- fixed a missing closing tag under certain conditions (thanks to Pat, @fortythousandmiles)
    2222- removed GooglePlus share counts due to Google removing the API
    23 - removed the mail form due to technical and legal due diligence
    2423- added Czech translation of the buttons
    2524- updated a lot of button translations
     
    3231- minor css improvements
    3332- 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
    3436
    3537= 4.3.0 =
     
    100102= 4.0.6 =
    101103- fixed an error in combination with bbpress
    102 - fixed ab error on very old PHP versions
     104- fixed an error on very old PHP versions
    103105- fixed ranking tab
    104106- minor css improvements
     
    116118- fixed type error on totalnumber when cache is empty
    117119- fixed share count requests when WordPress is installed in a subdirectory
    118 - fixed urlencoding of share url, title and media
     120- fixed url encoding of share url, title and media
    119121- added width and height to SVGs to prevent large initial icons prior to css
    120122- new classes shariff-buttons and shariff-link added
  • shariff/trunk/js/shariff-popup.js

    r1858285 r1858506  
    1616    var o = screen.width/2-350;
    1717    var r = screen.height/2-250;
    18     var l = t.length;
    1918    // open popup if not one of the special services
    2019    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);
     1function 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  
    55Requires PHP: 5.6
    66Tested up to: 4.9
    7 Stable tag: 4.3.0
     7Stable tag: 4.4.0
    88License: MIT
    99License URI: http://opensource.org/licenses/mit
     
    187187- fixed a missing closing tag under certain conditions (thanks to Pat, @fortythousandmiles)
    188188- removed GooglePlus share counts due to Google removing the API
    189 - removed the mail form due to technical and legal due diligence
    190189- added Czech translation of the buttons
    191190- updated a lot of button translations
     
    198197- minor css improvements
    199198- 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
    200202
    201203= 4.3.0 =
  • shariff/trunk/shariff.php

    r1858303 r1858506  
    851851    // Sets the share title.
    852852    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' ) );
    856856    }
    857857
Note: See TracChangeset for help on using the changeset viewer.