[wp-trac] [WordPress Trac] #20582: Theme Customizer: IE 8/9 compatibility
WordPress Trac
wp-trac at lists.automattic.com
Thu May 24 01:31:42 UTC 2012
#20582: Theme Customizer: IE 8/9 compatibility
---------------------------------------+------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: Appearance | Version: 3.4
Severity: normal | Resolution:
Keywords: needs-patch needs-testing |
---------------------------------------+------------------
Comment (by azaozz):
Right, got a JS based test for CORS support that looks good for all
browsers:
{{{
function(){ var xhr = new XMLHttpRequest(); return ( 'withCredentials' in
xhr ); }
}}}
However we need to hide/remove some links to the customizer (in the
toolbar) and change others to point to the old preview (on the Themes
screen) when in IE and cross-domain.
So to handle this in JS will have to output different href for the links
and swap them later, or can handle it in PHP directly. Preferences?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20582#comment:33>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list