[wp-trac] [WordPress Trac] #22446: Insert Media modal: IE 7, 8, and 9 issues

WordPress Trac noreply at wordpress.org
Mon Nov 26 15:45:48 UTC 2012


#22446: Insert Media modal: IE 7, 8, and 9 issues
-------------------------------+-----------------------
 Reporter:  SergeyBiryukov     |       Owner:  ocean90
     Type:  defect (bug)       |      Status:  accepted
 Priority:  normal             |   Milestone:  3.5
Component:  Media              |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch audit  |
-------------------------------+-----------------------

Comment (by lessbloat):

 Replying to [comment:22 azaozz]:
 > Would that patch be:
 >
 > {{{
 > if ( $is_IE )
 >   @header( 'Content-Type: text/html;' );
 > else
 >   @header( 'Content-Type: application/json; charset=' . get_option(
 'blog_charset' ) );
 > }}}

 $is_IE didn't appear to be set (or accessible), I borrowed most of your
 code for 22446-download-ajax.diff which​ fixes this issue for me in IE8.

 Note: IE7 continues to output errors when attempting to upload an image.
 Could be issues above and beyond the Content-Type declaration.

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


More information about the wp-trac mailing list