Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Fixing WordPress
    In reply to: Emoji and 6.2

    Use the following modified “wp-emoji-loader.min.js”. That should fix the problem. The current script breaks emojis in Internet Explorer 11 also. Whoever is making these changes should check them thoroughly before publishing them so as not to break things. Should have multiple browsers and operating systems installed is what I am saying. Even if the browsers or operating systems are no longer being supported by the developers.

    /*! This file is auto-generated */
    !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){p.clearRect(0,0,i.width,i.height),p.fillText(e,0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(t,0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(p&&p.fillText)switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s("\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!s("\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!s("\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!s("\u1faf1\u1f3fb\u200d\u1faf2\u1f3ff","\u1faf1\u1f3fb\u200b\u1faf2\u1f3ff")}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(e=t.source||{}).concatemoji?c(e.concatemoji):e.wpemoji&&e.twemoji&&(c(e.twemoji),c(e.wpemoji)))}(window,document,window._wpemojiSettings);
    Thread Starter Anindya

    (@-anindya-)

    You are welcome. ??

    I forgot to mention that I customized the error message a bit to show “anti robot verification failure” in title. That’s where they were getting it from. I was thinking about telling the spammers to update their spamming toolkits or something using a message somewhere in case the friendly captcha widget is not “visible” to them. ??

    But I thought it could be due to “fetching challenge” error, because even I encountered it once when my internet connection was “misbehaving”. ?? After all, they are able to bypass recaptcha and hcaptcha, surely they could have made the occasional post with friendly captcha active also I was thinking. ???♂?

    I made some other changes to the captcha plugin for my use after checking the code of some other captcha plugins. Here is a “patch” – https://pastebin.com/zV6MZFAt .

    I also forgot to mention that the captcha was being checked only after akismet, so that should definitely be fixed. ???♂?

Viewing 2 replies - 1 through 2 (of 2 total)