[wp-trac] [WordPress Trac] #31893: include '//' in emoji url.

WordPress Trac noreply at wordpress.org
Sun Apr 5 03:51:57 UTC 2015


#31893: include '//' in emoji url.
--------------------------+-----------------------------
 Reporter:  tmatsuur      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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 );
 }}}

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


More information about the wp-trac mailing list