[wp-trac] [WordPress Trac] #40179: 404 for two emojis
WordPress Trac
noreply at wordpress.org
Fri Mar 17 10:13:03 UTC 2017
#40179: 404 for two emojis
-------------------------------+------------------------------
Reporter: Grzegorz.Janoszka | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Emoji | Version: 4.7.3
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: performance
-------------------------------+------------------------------
Comment (by Grzegorz.Janoszka):
I don't have any plugin that could affect emojis. Please note that in /wp-
includes/js/wp-emoji-release.min.js I see the following:
var
p={base:"https://twemoji.maxcdn.com/2/",ext:".png",size:"72x72",className:"emoji",
and so on. Not sure why the JS would select maxcdn over s.w.org.
[UPDATE]
I actually dug into that and I found one plugin that was meant to speed up
the website had a code:
# remove <link rel='dns-prefetch' href='//s.w.org' /> from the head:
add_filter('emoji_svg_url','__return_false');
Could it be that it actually changes the CDN from s.w.org to maxcdn? And
if yes - there seems to be some replication issues as some files are
missing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40179#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list