[wp-trac] [WordPress Trac] #17473: Add JS detection to wp_iframe output
WordPress Trac
wp-trac at lists.automattic.com
Tue May 17 14:51:21 UTC 2011
#17473: Add JS detection to wp_iframe output
--------------------------+-----------------------------
Reporter: jacobwg | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.2
Severity: normal | Keywords:
--------------------------+-----------------------------
Currently any page in the admin area includes the necessary script to add
the {{{js}}} and {{{no-js}}} classes to the body (from {{{admin-
header.php}}}), but this code is missing from the output of the
{{{wp_iframe}}} function.
In particular, the upload media popup ({{{/wp-admin/media-upload.php}}})
makes use of {{{hide-if-no-js}}} classes, and without the detection script
in place in {{{wp_iframe}}}, those classes will not take effect.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17473>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list