Media: Add -webkit-overflow-scrolling for a smoother mobile/iOS experience.

props koopersmith.
fixes #22657.



git-svn-id: http://core.svn.wordpress.org/trunk@22959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Responsive and RTL css improvements or the media modal.

Props ocean90, koopersmith
see #22615


git-svn-id: http://core.svn.wordpress.org/trunk@22960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-RC2-22961.

git-svn-id: http://core.svn.wordpress.org/trunk@22961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove stray single quote in attachment_submit_meta_box(). props Yogi T. fixes #22674.



git-svn-id: http://core.svn.wordpress.org/trunk@22962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Directly access post_status instead of using get_post_status() when checking for auto-draft status. Attachments with their inherit post_status were getting the auto-draft status of their parent when using get_post_status(). This caused some things to display improperly on the edit attachment page.

Props nacin, miqrogroove
fixes #22672


git-svn-id: http://core.svn.wordpress.org/trunk@22963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Namespace the dashboard widget nonce to avoid collisions with plugins.


git-svn-id: http://core.svn.wordpress.org/trunk@22964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
In the media modal, show the Link To: url.

Props nacin
fixes #22662


git-svn-id: http://core.svn.wordpress.org/trunk@22965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-RC2-22966.

git-svn-id: http://core.svn.wordpress.org/trunk@22966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Allow the 'Uploaded to this post' view to be sorted, saving the resulting order as menu_order.

This functionality is designed to be backwards compatible with manual querying for attachments by menu_order.

props koopersmith.
see #22607.



git-svn-id: http://core.svn.wordpress.org/trunk@22967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Avoid leaking the 'media' var into the global JS namespace. props koopersmith, fixes #22676.



git-svn-id: http://core.svn.wordpress.org/trunk@22968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add wp_enqueue_media action to the function of the same name. props koopersmith, fixes #22678.



git-svn-id: http://core.svn.wordpress.org/trunk@22969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
SimplePie: Return nothing and throw an error in SimplePie_Sanitize when DOMDocument is disabled.

Note that when SimplePie is used through the WordPress fetch_feed() function, we use kses rather than SimplePie_Sanitize, which removes the dependency on DOMDocument. This change is only for plugins using SimplePie directly.

props rmccue. fixes #21990.



git-svn-id: http://core.svn.wordpress.org/trunk@22970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-RC2-22971.

git-svn-id: http://core.svn.wordpress.org/trunk@22971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use wp.media, not media, in media-editor.js. see #22676.



git-svn-id: http://core.svn.wordpress.org/trunk@22972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-RC2-22973.

git-svn-id: http://core.svn.wordpress.org/trunk@22973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
`wp.media` instead of just `media`. props alexkingorg, see #22676.



git-svn-id: http://core.svn.wordpress.org/trunk@22974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-RC2-22975.

git-svn-id: http://core.svn.wordpress.org/trunk@22975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Media templates: Make sure we have a width and height before printing dimensions. We don't calculate dimensions for icons. fixes #22680.



git-svn-id: http://core.svn.wordpress.org/trunk@22976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Customizer: Ensure that the 'Collapse' button is styled properly (overridding the admin button style). props helenyhou. fixes #22684.



git-svn-id: http://core.svn.wordpress.org/trunk@22977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Prevent small thumbnails from being upscaled. props helenyhou. fixes #22681.


git-svn-id: http://core.svn.wordpress.org/trunk@22978 1a063a9b-81f0-0310-95a4-ce76da25c4cd