Account for the old 'main override' in wp_upload_dir() for the main site in a post-MU network by declining to define the UPLOADS constant.

Fixes uploads on the main site of a post-MU network that uses ms-files rewriting. see #19235.



git-svn-id: http://core.svn.wordpress.org/trunk@21892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: fix typo in stylesheet description, props nacin. See #21909.


git-svn-id: http://core.svn.wordpress.org/trunk@21893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Replace QuickPress labels with gray prompt texts. Stylish, but also done for localization purposes (string lengths). props ocean90. fixes #21754.



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

git-svn-id: http://core.svn.wordpress.org/trunk@21895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Allow wp.uploadFile to upload the attachment to a post. props djzone, josephscott, maxcutler. fixes #13917.



git-svn-id: http://core.svn.wordpress.org/trunk@21896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: update base style for comment textarea and input elements to avoid clipping off the edges. Props emiluzelac and obenland, fixes #21916.


git-svn-id: http://core.svn.wordpress.org/trunk@21897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Allow JS Attachments models to be searchable and sortable.

Moves `wp.media.model.Query` sorting and searching to the parent `wp.media.model.Attachments`.

Query parameters are stored in `attachments.props`, which is a `Backbone.Model`, and supports `order` (`'ASC'` or `'DESC'`), `orderby` (any `Attachment` model property name), `search` (a search term), and `query` (a boolean value that ties the `Attachments` collection to the server).

`wp.media.query( args )` now returns an `Attachments` set that is mapped to a `Query` collection instead of the `Query` collection itself. This allows you to change the query arguments by updating `attachments.props` instead of fetching the mirrored arguments, changing them, and passing them to `wp.media.query()` again.

fixes #21921, see #21390, #21809.


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

git-svn-id: http://core.svn.wordpress.org/trunk@21899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Ensure the Attachments model properties are correctly set for Query collections.

After shifting sorting and searching logic from the `Query` collection in [21898], it became apparent that `Query` collections should also have an accurate `props` model, as the model controls the aforementioned searching and sorting.

see #21921, #21809, and #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@21900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Media JS: Improve signature for `Workspace.add()` to accept two arguments instead of an ambiguous object. see #21390, [21820], [21821].


git-svn-id: http://core.svn.wordpress.org/trunk@21901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Media JS: Improve auto-add functionality in Workspace.render(). see #21390, [21901].


git-svn-id: http://core.svn.wordpress.org/trunk@21902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove unused edit-site nonce fields from site-users and site-themes. props jeremyfelt, fixes #21277.



git-svn-id: http://core.svn.wordpress.org/trunk@21903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Stop outputting the default dir="ltr" in language_attributes(). props bergius. fixes #16852.



git-svn-id: http://core.svn.wordpress.org/trunk@21904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Avoid mangling UTF-8 strings that may be present in image metadata. props SergeyBiryukov for the unit tests [UT665]. fixes #9417.



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