Context for 'Attachment' when referring to the background image attachment. props xibe, fixes #23433.



git-svn-id: http://core.svn.wordpress.org/trunk@24621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Don't call `updateDiff()` in the Revisions FrameState model.

* Stuff needs to hook in, so firing it early results in a half-rendered screen.
* `updateDiff()` now returns a promise.
* Now, in the frame view's `render()`, it calls `updateDiff()`, relying on its promise.

See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
XML-RPC: Save enclosures with a trailing new line. fixes #23219.



git-svn-id: http://core.svn.wordpress.org/trunk@24623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use maybe_unserialize() in upgrade.php's private get_option() function. This actually predates maybe_unserialize() ([2487], [3234]). props leewillis77. fixes #24365.



git-svn-id: http://core.svn.wordpress.org/trunk@24625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix the chown and chgrp methods for the filesystem API's SSH2 transport. fixes #24277.



git-svn-id: http://core.svn.wordpress.org/trunk@24626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revisions: Update the compare mode before rendering subviews.

See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Switch to a transient for is_multi_author(). props markjaquith, fixes #24445.



git-svn-id: http://core.svn.wordpress.org/trunk@24628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revisions: Get rid of an unneccessary ID. IDs are a bad idea.

See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
When generating a background image thumbnail URL, escape percent signs for the eventual sprintf() call inside get_theme_mod().

props cfinke.
fixes #21241.



git-svn-id: http://core.svn.wordpress.org/trunk@24630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Avoid a scrollbar in the iframe used for plugin sandboxing. props kovshenin. see #10840.



git-svn-id: http://core.svn.wordpress.org/trunk@24631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.6-beta4-24632.

git-svn-id: http://core.svn.wordpress.org/trunk@24632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Some RTL changes for the plugin information box.

props JDTrower, SergeyBiryukov, ocean90, ramiy.
fixes #22897.



git-svn-id: http://core.svn.wordpress.org/trunk@24633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
If a nav menu has no items, wait until after the wp_nav_menu_items filter before deciding whether to print nothing.

see [21868] for original commit. see #21576.
see #24035 for trunk.



git-svn-id: http://core.svn.wordpress.org/trunk@24634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
If someone tries to localize 'jquery', which is now an alias with jquery-core and jquery-migrate dependencies, add the data to jquery-core.

fixes #24197.



git-svn-id: http://core.svn.wordpress.org/trunk@24635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revisions: remove some redundant code.

* Move some slider code into the slider view that was loitering in the checkmark view.
* `this.$()`, not `$()`.
* Cache a selector.
* `toggleClass()`, not `addClass()` with a ternary.
* Remove two classes with a single `removeClass()`.

See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Grammar fix in Twenty Thirteen CSS comment. props SergeyBiryukov, fixes #24690.


git-svn-id: http://core.svn.wordpress.org/trunk@24637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revisions: simpler hash URLs. Misc refactoring.

* Single mode: `#at/:to`
* Compare two mode: `#from/:from/to/:to`
* Make use of `_.isUndefined()`

See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Avoid notice in XML-RPC when attaching uploads, when attachments do not have a guid in the DB. props ericmann, markoheijnen. fixes #18310.



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