[wp-trac] [WordPress Trac] #63731: wp-emoji-release.min.js Requires URL Update

WordPress Trac noreply at wordpress.org
Tue Jul 22 17:05:33 UTC 2025


#63731: wp-emoji-release.min.js Requires URL Update
--------------------------+-------------------------
 Reporter:  isaumya       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Emoji         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------

Comment (by siliconforks):

 Replying to [comment:13 Presskopp]:
 > This should be [https://github.com/jdecked/twemoji/issues reported
 upstream] then ..

 Well, no, it's not an issue in the upstream version.  The upstream version
 works fine with the default `cdn.jsdelivr.net` URL.  WordPress uses a
 customized version of twemoji - because it has been customized, the
 original default `cdn.jsdelivr.net` URL no longer works.  This is not
 really a problem, since WordPress does not use that CDN anyway but instead
 uses its own `s.w.org` URL for serving assets.

 If you really want to use the `cdn.jsdelivr.net` CDN, you could just do
 this:

 {{{
 add_filter(
         'emoji_svg_url',
         function () {
                 return
 'https://cdn.jsdelivr.net/gh/jdecked/twemoji@16.0.1/assets/svg/';
         }
 );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63731#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list