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
Ignore user ID post data. Merges [25316] to 3.6.

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


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Tighten allowed upload file types. Merges [25317] to 3.6.

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


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Validate referrers to prevent off-domain redirects. Merges [25318] to 3.6.

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


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Better protocol validation in set_url_scheme(). Merges [25319] to 3.6.

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


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Loose validation for is_serialized() in maybe_serialize(). Merges [25320] to 3.6.

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


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

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


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update TinyMCE for [25187]. see #25131.

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


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Improve clarity and speed of [25320] (merged as [25325]). Merges [25338] to 3.6.

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


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Avoid string offset notices in [25319] (merged as [25324]). Merges [25340] to 3.6.

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


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Avoid error in ms-files.php after [25317] (merged as [25322]). Merges [25344] to 3.6.

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


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