[wp-trac] [WordPress Trac] #32109: Error in emoji

WordPress Trac noreply at wordpress.org
Sat Apr 25 22:07:50 UTC 2015


#32109: Error in emoji
--------------------------+------------------------------
 Reporter:  germozy       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+------------------------------

Comment (by azaozz):

 In 32109.2.diff:
 - Use `DOMContentLoaded` to initialize wp-emoji.
 - Use `readystatechange` and `document.readyState === 'complete'` as
 fallback in case `DOMContentLoaded` is not supported (IE < 9 and other
 really outdated browsers).

 Tested in Firefox, Chrome, IE11, IE8. Needs testing in IE10 and 9 just in
 case, and perhaps in other obscure browsers if somebody has one handy.

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


More information about the wp-trac mailing list