MCE Views: First pass at keystroke and insertion handling.

* When a MCE view is selected, normal keystrokes (those without command/control) are blocked.
* Backspace/delete will successfully remove the view.
* Arrow handling will be added at a later point.
* When a MCE view is selected and content is pasted or injected (e.g. when an attachment is added), the content is added to the first text node after the view. If the view is at the end of the document or the next element is another view, a text node is injected into the DOM immediately after the selected view.

see #21390, #21812, #21813, #21815.


git-svn-id: http://core.svn.wordpress.org/trunk@22210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Style <small> element in default themes a bit smaller than normal text, props obenland. Fixes #22109.


git-svn-id: http://core.svn.wordpress.org/trunk@22211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add a nonce to wp_ajax_save_attachment. see #21390, #21807.


git-svn-id: http://core.svn.wordpress.org/trunk@22212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Eleven: remove invalid pubdate value from time elements. See #22095.


git-svn-id: http://core.svn.wordpress.org/trunk@22213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Ten and Eleven: remove invalid rel attribute generator from footer markup, see #22095.


git-svn-id: http://core.svn.wordpress.org/trunk@22214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Ten image optimization, compress JPG and PNG files a bit more.


git-svn-id: http://core.svn.wordpress.org/trunk@22215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Ten: better spacing for rows of in-content page links. Props iandstewart, fixes #16570.


git-svn-id: http://core.svn.wordpress.org/trunk@22216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Eleven image optimization, compress PNG files a bit more.


git-svn-id: http://core.svn.wordpress.org/trunk@22217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
POT, generated from r22217

git-svn-id: http://core.svn.wordpress.org/trunk@22218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
MCE Views: Add alignment styles for generic views.

Adds `alignnone`, `aligncenter`, `alignleft`, and `alignright` by default.

see #21390, #21812, #21813.


git-svn-id: http://core.svn.wordpress.org/trunk@22219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Properly align MCE attachment views.

* Adds a `$wrapper` property to MCE views to allow them to manipulate the wrapper on render. This should be used sparingly — only for layout changes that cannot be accomplished through altering the wrapper's children — and likely only for adding/removing classes.
* Uses `wp.html.string()` in `wp.mce.view.toView()`.

see #21390, #21812, #21813.


git-svn-id: http://core.svn.wordpress.org/trunk@22220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Display gallery and attachment MCE views as inline blocks. Make gallery MCE view wrappers block level. see #21390, #21813, #21815.


git-svn-id: http://core.svn.wordpress.org/trunk@22221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Have wp_upload_dir() account for blog switching, ms-files rewriting, and the UPLOADS constant properly. This type of logic needs a lot of code comments.

Prevents wp_upload_dir() from obeying the UPLOADS constant when ms-files rewriting is enabled and a blog is switched.

Reverts [22106] thanks to [22108].

see #19235.



git-svn-id: http://core.svn.wordpress.org/trunk@22222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-beta1-22223. TinyMCE updated.

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



git-svn-id: http://core.svn.wordpress.org/trunk@22224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix typo and don't always return false from image_make_intermediate_size(). props gandham, see #22181.



git-svn-id: http://core.svn.wordpress.org/trunk@22225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
When upgrading a site to/from a  Beta, alpha, or non-stable release, overwrite any existing bundled themes & plugins with the version from the release zip. See #21789


git-svn-id: http://core.svn.wordpress.org/trunk@22226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Replace the hard coded version and PHP/MySQL requirements in update-core.php by pulling in the new version.php file during installation. Fixes #22015 #11639. See #21789


git-svn-id: http://core.svn.wordpress.org/trunk@22227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
jQuery Masonry for uploaded custom headers. props zamoose. fixes #20346.



git-svn-id: http://core.svn.wordpress.org/trunk@22228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Duplicate comments should be allowed under a different comment parent. props andy. fixes #21609.



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