jquery / jquery-wp-content

WordPress themes and plugins for the jQuery sites
GNU General Public License v2.0
253 stars 169 forks source link

Install "Disable Emojis" plug-in on qunitjs.com and others #397

Closed scottgonzalez closed 8 years ago

scottgonzalez commented 8 years ago

Originally from @Krinkle:

Consider installing this plugin Disable Emojis.

Since a recent WordPress upgrade, all content pages contain the following (e.g. on https://qunitjs.com/):

        <script type="text/javascript">
            window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png","source":{"concatemoji":"https:\/\/qunitjs.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.5.2"}};
            !function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&....readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.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;
}
</style>