Avoid leaking the 'media' var into the global JS namespace. props koopersmith, fixes #22676.
git-svn-id: https://develop.svn.wordpress.org/trunk@22968 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d8e714d6e3
commit
7d0efc4012
|
@ -1,7 +1,7 @@
|
|||
window.wp = window.wp || {};
|
||||
|
||||
(function($){
|
||||
var Attachment, Attachments, Query, compare, l10n;
|
||||
var Attachment, Attachments, Query, compare, l10n, media;
|
||||
|
||||
/**
|
||||
* wp.media( attributes )
|
||||
|
|
Loading…
Reference in New Issue