[wp-trac] [WordPress Trac] #22676: Do not leak media JS variable into the global namespace
WordPress Trac
noreply at wordpress.org
Sun Dec 2 05:31:17 UTC 2012
#22676: Do not leak media JS variable into the global namespace
-------------------------------------+--------------------------
Reporter: koopersmith | Type: defect (bug)
Status: new | Priority: normal
Milestone: 3.5 | Component: Media
Version: trunk | Severity: normal
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------
Currently, media-models.js is not declaring the `media` variable properly,
which is leaking it into the global namespace.
Test this by opening your browser console and typing `media`. If it's
defined, that's bad.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22676>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list