diff --git a/wp-includes/js/plupload/wp-plupload.js b/wp-includes/js/plupload/wp-plupload.js index 88a84edfc4..86a1919f47 100644 --- a/wp-includes/js/plupload/wp-plupload.js +++ b/wp-includes/js/plupload/wp-plupload.js @@ -315,16 +315,13 @@ window.wp = window.wp || {}; container = $( '#' + id ); if ( ! container.length ) { - container = $('
', { - id: 'wp-uploader-browser-' + this.uploader.id, - css: { - position: 'fixed', - top: '-1000px', - left: '-1000px', - height: 0, - width: 0 - } - }).appendTo('body'); + container = $('
').css({ + position: 'fixed', + top: '-1000px', + left: '-1000px', + height: 0, + width: 0 + }).attr( 'id', 'wp-uploader-browser-' + this.uploader.id ).appendTo('body'); } container.append( this.browser );