Make sure $args is an array before treating it as such. fixes #25151 for 3.6.
Built from https://develop.svn.wordpress.org/branches/3.6@25152


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revert [23307] so new users in multisite are not automatically subscribers on the main site.

Merges [25183] to the 3.6 branch.

props duck_.
fixes #25166.
see #15627.


Built from https://develop.svn.wordpress.org/branches/3.6@25184


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix menu folding on new installs. fixes #24921 for 3.6.
Built from https://develop.svn.wordpress.org/branches/3.6@25185


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
TinyMCE: fix editor focus issues after ontouchstart event on the parent document in iOS Safari. Fixes #25131 for 3.6.
Built from https://develop.svn.wordpress.org/branches/3.6@25187


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Hide 'Database Upgrade Required' on admin/network/upgrade.php when you are not being asked to upgrade, to prevent confusion.

Merges [25191] to the 3.6 branch.

props duck_.
fixes #24845.


Built from https://develop.svn.wordpress.org/branches/3.6@25192


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Case sensitivity for is_email_address_unsafe().

Merges [25197] to the 3.6 branch.

props jkudish.
fixes #25046.

Built from https://develop.svn.wordpress.org/branches/3.6@25198


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Nav menus: Allow assigning a new menu to an existing location when no theme setting is currently saved.

Merges [25195] to the 3.6 branch.

props ocean90.
fixes #25064.

Built from https://develop.svn.wordpress.org/branches/3.6@25232


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove display of 'Previously restored by' in the revisions meta box as it is busted.

Fixes invalid markup (missing closing ul tag) when there was no previously restored revision.

Merges [25194] to the 3.6 branch.
fixes #25051.


Built from https://develop.svn.wordpress.org/branches/3.6@25233


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix 'html5' theme support.
 * Merge, rather than replace, on second add.
 * Make current_theme_supports() work when two arguments are passed.
 * Require the second argument to be an array.

Merges [25193] and [25235] to the 3.6 branch.
fixes #24932.

Built from https://develop.svn.wordpress.org/branches/3.6@25236


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
3.6.1-beta1.

Built from https://develop.svn.wordpress.org/branches/3.6@25247


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