Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#56392 closed defect (bug) (wontfix)

Twemoji URL for `dns-prefetch` is incorrect

Reported by: desrosj's profile desrosj Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Emoji Keywords:
Focuses: Cc:

Description

As pointed out by @sergey 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.

Change History (4)

This ticket was mentioned in Slack in #core by desrosj. View the logs.


3 years ago

This ticket was mentioned in Slack in #core by desrosj. View the logs.


3 years ago

#4 @desrosj
3 years ago

  • Milestone 6.0.2 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

It actually looks like #40426 is poised to remove this from Core. So closing this as a wontfix.

Note: See TracTickets for help on using tickets.