[wp-trac] [WordPress Trac] #56392: Twemoji URL for `dns-prefetch` is incorrect

WordPress Trac noreply at wordpress.org
Tue Aug 16 15:21:08 UTC 2022


#56392: Twemoji URL for `dns-prefetch` is incorrect
--------------------------+--------------------
 Reporter:  desrosj       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  6.0.2
Component:  Emoji         |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+--------------------
 As pointed out by @sergey
 [https://wordpress.slack.com/archives/C02RQBWTW/p1660655910402179?thread_ts=1660648357.006969&cid=C02RQBWTW
 pointed out in #core].

 > It looks like there's a mismatch between the URL in formatting.php:
 > `'svgUrl'  => apply_filters( 'emoji_svg_url',
 'https://s.w.org/images/core/emoji/14.0.0/svg/' ),`
 > and the one in `general-template.php`:
 > `$hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url',
 'https://s.w.org/images/core/emoji/13.0.0/svg/' );`
 > Though it does not really matter, as only the host is used for dns-
 prefetch, not the path.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56392>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list