Media: Activate the featured image toolbar when the media dialog is first opened. see #21390, #21776.


git-svn-id: http://core.svn.wordpress.org/trunk@22561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Sharper HiDPI alignment icons for TinyMCE. props lessbloat. fixes #22431.



git-svn-id: http://core.svn.wordpress.org/trunk@22562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revert accordion-delay code from [22400] that was causing problems. props lessbloat. fixes #21283.



git-svn-id: http://core.svn.wordpress.org/trunk@22563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Pass the post ID from the_shortlink() to wp_get_shortlink() to avoid a change in filters. props SergeyBiryukov, fixes #21309.



git-svn-id: http://core.svn.wordpress.org/trunk@22564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Avoid notices with [22426]. props pross. fixes #22420.



git-svn-id: http://core.svn.wordpress.org/trunk@22565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Pass 'blank' to Gravatar rather than sending blank.gif for Gravatar to proxy. props miqrogroove, fixes #22354.



git-svn-id: http://core.svn.wordpress.org/trunk@22566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Media: Restore 3.4 editor behavior and remove TinyMCE views.

* Reactivates the `wpgallery` and `wpeditimage` TinyMCE plugins. Deactivates the `wpviews` TinyMCE plugin.
* Moves still-relevant logic from `mce-views.js` to `media-upload.js` and `shortcode.js`.
* No longer include `wp-includes/js/mce-views.js`. This code will not be used in 3.5, and should be considered unstable.
* Currently, this is the real 3.4 experience; as such, editing triggers the old modals. Changing this is the next major step.

When reassessing views, we should look over all of these tickets and anticipate these bugs accordingly.

fixes #21813, #22123, #22155, #22161, #22257, #22266, #22318, #22407, see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Media: Make edit gallery button use new media. see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Media: Declare wp.media.string methods in a single object. see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Media: Remove border from inline media uploader. see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
wp_generate_attachment_metadata() should not call WP_Image_Editor if there's nothing to resize. props mdawaffe. fixes #22438.



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

git-svn-id: http://core.svn.wordpress.org/trunk@22572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: fix text color contrast, props jorbin. See #22087.


git-svn-id: http://core.svn.wordpress.org/trunk@22573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: avoid JavaScript errors if navigation wrapper markup is removed from header. Fixes #22307.


git-svn-id: http://core.svn.wordpress.org/trunk@22574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: RTL update for text widget layout, props DrewAPicture and georgestephanis. Fixes #22390.


git-svn-id: http://core.svn.wordpress.org/trunk@22575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: wrap long text and URLs in entries. Props philiparthurmoore, fixes #22359. (Also clean up property order a bit.)


git-svn-id: http://core.svn.wordpress.org/trunk@22576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: revert accidental paste in r22576, see #22359.


git-svn-id: http://core.svn.wordpress.org/trunk@22577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Media: Convert templates to use a data variable instead of with statements. see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: style Multisite messages and forms to match the theme styles. Props DrewAPicture and obenland, fixes #22179.


git-svn-id: http://core.svn.wordpress.org/trunk@22579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Media: Improve image size-related UI and code.

* Add dimensions to the "sizes" dropdown.
* Ensure a `full` size is generated in `wp_prepare_attachment_for_js()`.
* Print the dimensions for the full size in the attachment summary (instead of those for the current size).
* When generating the attachment view's template, map `imageSize()` to the `size` property instead of overriding the default data.

see #21390.


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