[wp-trac] [WordPress Trac] #22053: IE 8 shows a JavaScript error in editor_js()

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 1 20:40:05 UTC 2012


#22053: IE 8 shows a JavaScript error in editor_js()
----------------------------+--------------------
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.5
Component:  Editor          |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------

Comment (by dannydehaan):

 This is because getElementsByClassName is only available in HTML5. IE8
 only partially supports HTML5, getElementsByClassName is not supported as
 you can see here. I've made a patch for this. When getElementsByClassName
 is available, the script will use that, otherwise it will use the fallback
 document.querySelectorAll('.wp-editor-wrap');

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22053#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list