[wp-trac] [WordPress Trac] #22446: Insert Media modal: IE 7, 8, and 9 issues
WordPress Trac
noreply at wordpress.org
Mon Nov 26 03:01:14 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 azaozz):
Replying to [comment:21 koopersmith]:
> I'd like to see a patch that sniffs for IE and replies with
`text/javascript` instead.
Unfortunately IE doesn't recognize `text/javascript` either. Only
`text/html`.
Would that patch be:
{{{
if ( $isIE )
@header( 'Content-Type: text/html;' );
else
@header( 'Content-Type: application/json; charset=' . get_option(
'blog_charset' ) );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22446#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list