Export: Ignore auto-drafts when building the list of users for the export file. Fixes #21960.


git-svn-id: https://core.svn.wordpress.org/trunk@21946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revert JS from [21921] as it breaks saving when no post date fields are present. see #17180.



git-svn-id: https://core.svn.wordpress.org/trunk@21947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use the regular post type UI for editing single media items (attachments).
 * Attachments now go through post.php, edit_post(), the like, and have show_ui set to true.
 * Taxonomies attached to the media library now appear in the admin menu (if show_ui).
 * Editing, cropping, uploading, etc. is still very rough, but mostly functional.

API-wise:
 * New function: get_taxonomies_for_attachments(). Like get_taxonomies(), for taxonomies specifically registered against attachments.
 * Brings taxonomy support from the posts list table to the media list table. Expect them to converge soon.
 * wp_insert_attachment() now handles taxonomies like wp_insert_post(). Also expect them to converge soon.
 * New edit_form_after_title hook.

props helenyhou, ocean90. see #21391.



git-svn-id: https://core.svn.wordpress.org/trunk@21948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove old autosave collision code from edit_post(). props miqrogroove.

This code, which could block autosaves when drafts had future timestamps,
dates to before autosaves were saved as revisions and is no longer necessary.

fixes #21858.



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

git-svn-id: https://core.svn.wordpress.org/trunk@21950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Don't repeatedly call get_object_taxonomies() in clean_object_term_cache(). see #11399.



git-svn-id: https://core.svn.wordpress.org/trunk@21951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Stop cleaning the cache of a post's children. Ancestors are no longer cached against the post object, which means this kind of walking is unnecessary. It is also prohibitively expensive with large hierarchies.

We need to remove post_ancestors non-persistent caching for this. get_post_ancestors() can simply rely on the caching of get_post() instead. Previously, it was a direct query, hence the extra layers of caching and clearing.

Child cache clearing stays in wp_delete_post() as children get a new parent.

fixes #11399.



git-svn-id: https://core.svn.wordpress.org/trunk@21952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Properly indent after [21952]. see #11399.



git-svn-id: https://core.svn.wordpress.org/trunk@21953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use $gmt_time rather than $local_time in cron, since it uses GMT/UTC and not a local timestamp. see #14391.



git-svn-id: https://core.svn.wordpress.org/trunk@21954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Better alignment in the ustom fields metabox. props SergeyBiryukov, ocean90, fixes #21847.



git-svn-id: https://core.svn.wordpress.org/trunk@21955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Deprecate wp_create_thumbnail(). props obenland. fixes #21555.



git-svn-id: https://core.svn.wordpress.org/trunk@21956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Check a post type's show_in_admin_bar property for 'View' and 'Edit' object links. Previously show_in_admin_bar was only checked for the add new menu. fixes #20504.



git-svn-id: https://core.svn.wordpress.org/trunk@21957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
jQuery 1.8.2. props ocean90, fixes #21957.



git-svn-id: https://core.svn.wordpress.org/trunk@21958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
XML-RPC: Accept 'url', not 'website' in wp.editProfile. props maxcutler. see #18428.



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

git-svn-id: https://core.svn.wordpress.org/trunk@21960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Makes custom TinyMCE views easier to implement.

For details and examples, see the ticket.

props azaozz, fixes #21812.


git-svn-id: https://core.svn.wordpress.org/trunk@21961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Improve documentation for wp.mce.view.add(). Store view id in view options. see #21812.


git-svn-id: https://core.svn.wordpress.org/trunk@21962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
DFW: add scroll locking to prevent scrolling to top in WebKit on paste, add auto-resize throttling to 0.5 sec, only compare scrollHeight values (works well in all supported browsers), fixes #21979

git-svn-id: https://core.svn.wordpress.org/trunk@21963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-alpha-21964. TinyMCE updated.

git-svn-id: https://core.svn.wordpress.org/trunk@21964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix nesting on themes.php when there are no options links to display for the current theme. props sterlo. fixes #21980.



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