• Anonymous User 16052280

    (@anonymized-16052280)


    Hi guys,

    I have enabled “Disable Emojis Site-Wide” but the wp-includes/js/wp-emoji-release.min.js?ver=5.1 file still loads.

    Are you sure this option is working?

    <head>
    <script type="text/javascript">
    			window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11.2.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11.2.0\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/www.sensomap.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.1"}};
    			!function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
    		</script>
    		<style type="text/css">
    img.wp-smiley,
    img.emoji {
    	display: inline !important;
    	border: none !important;
    	box-shadow: none !important;
    	height: 1em !important;
    	width: 1em !important;
    	margin: 0 .07em !important;
    	vertical-align: -0.1em !important;
    	background: none !important;
    	padding: 0 !important;
    }
    </head>
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @andrei0luca thanks for reporting this! Yes, it works as there were few updates done lately and one of them was especially for this issue. Which version of Asset CleanUp are you using? If you’re using one that is over 2 weeks old, that could be the case as there was a bug that had to be fixed. So, my apologies for this inconvenience. If you can upgrade, please do so! I assume you’re referring to the Lite version, right?

    Thread Starter Anonymous User 16052280

    (@anonymized-16052280)

    Hi Gabe,

    Thank you for your prompt reply.

    I am using the latest version 1.3.2.2 of Asset CleanUp.
    Sorry but not sure if it’s the Lite version, just started testing the plugin.
    Also using the latest WordPress version 5.1 and a Divi theme.

    Here is a test page that I am using for Asset CleanUp testing:
    https://www.sensomap.com/about/
    If it’s of any help for you here you can see that the emojis are still loading.

    Thank you,
    Andrei

    Plugin Author Gabe Livan

    (@gabelivan)

    @andrei0luca can you deactivate and delete Asset CleanUp (no worries, all settings will be preserved), then re-download and activate it again? That should fix it. Tag 1.3.2.3 will be released very soon.

    Thread Starter Anonymous User 16052280

    (@anonymized-16052280)

    Yes, reinstalling Asset CleanUp did the trick.

    Great support,
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable Emojis Site-Wide NOT WORKING’ is closed to new replies.