Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 5 years ago

#31893 closed defect (bug) (fixed)

include '//' in emoji url.

Reported by: tmatsuur Owned by: pento
Priority: normal Milestone: 4.2
Component: General Version: 4.2
Severity: normal Keywords:
Cc: Focuses: javascript

Description

Posts containing the Emoji I was displayed in Chrome on Windows 8.1.
Emoji have been rewritten to img element, were included '' in the URL of the img element.

Example: beer
​http://s.w.org/images/core/emoji/72x72//1f37a.png

I think that the 72x72// is good in 72x72/.

head element[page source]:

window._wpemojiSettings = {"baseUrl":"http:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png", ...

twemoji.parse[wp-emoji.js]: line130

return ''.concat( options.base, '/', icon, options.ext );

I think that it should do fixed in such a feeling.

return ''.concat( options.base, icon, options.ext );

Change History (3)

#1 @pento
12 years ago

  • Focuses javascript added
  • Milestone Awaiting Review → 4.2
  • Owner set to pento
  • Status new → assigned

#2 @pento
12 years ago

  • Resolution → fixed
  • Status assigned → closed

In 32024:

Emoji: Remove an errant / in Twemoji URLs.

Props tmatsuur.

Fixes #31893.

This ticket was mentioned in ​Slack in #core-editor by colorful-tones. ​View the logs.


5 years ago

Note: See TracTickets for help on using tickets.