Branch 3.5

git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23132 602fd350-edb4-49c9-b593-d223f7449a82
Only unset() after we have confirmed we are not dealing with a WP_Error. props DH-Shredder. fixes #22824.

Merges [23133] to the 3.5 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23136 602fd350-edb4-49c9-b593-d223f7449a82
Only show help for upload_path and upload_url_path if those fields are visible. fixes #21720.

Merges [23134] to the 3.5 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23137 602fd350-edb4-49c9-b593-d223f7449a82
Two media gallery string changes, for clarity:
 * 'Random' to 'Random Order', to be clear what it controls.
 * 'Describe this image...' to 'Caption this image...', to be clear it links to the Caption field and not the revived Description field, see [23083].

props johnbillion, pavelevap.
fixes #22821.

Merges [23135] to the 3.5 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23138 602fd350-edb4-49c9-b593-d223f7449a82
Introduce previous_image_link and next_image_link filters. Allows customizing the gallery display order.

Props nacin
fixes #22829 for 3.5


git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23140 602fd350-edb4-49c9-b593-d223f7449a82
3.5-RC5-23141 for both trunk and the 3.5 branch. New nightlies forced.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23141 602fd350-edb4-49c9-b593-d223f7449a82
TinyMCE: Use the correct syntax for allowing an `embed` element to be a valid child of an `object` element.

Fixes a bug in TinyMCE when using its HTML5 schema definition.

props azaozz.
fixes #22790.
for the 3.5 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23146 602fd350-edb4-49c9-b593-d223f7449a82
Compress scripts/styles: 3.5-RC5-23147. TinyMCE updated.

git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23147 602fd350-edb4-49c9-b593-d223f7449a82
Delete the patch of TinyMCE's schema; new attempt. see #22790. see #22842. actually for the 3.5 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23150 602fd350-edb4-49c9-b593-d223f7449a82
Add TinyMCE's Schema.js to prepare for patching it. see #22790. see #22842. for the 3.5 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23152 602fd350-edb4-49c9-b593-d223f7449a82
Restore the duck punch of TinyMCE's schema from [23120], along with updated rules for all HTML5 elements, as painstakingly audited against the HTML5 spec.

Remove conflicting and unnecessary code in the WP TinyMCE plugin.

Fixes all known regressions when working with the embed, object, video, audio, source, and param elements in TinyMCE.

props markjaquith, koopersmith.
fixes #22790, #22842.

Merges [23153] to the 3.5 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23154 602fd350-edb4-49c9-b593-d223f7449a82
Compress scripts/styles: 3.5-RC5-23156. TinyMCE updated.

git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23156 602fd350-edb4-49c9-b593-d223f7449a82
3.5-RC6 -- please test TinyMCE for regressions working with HTML5 elements, embeds and objects, etc.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23157 602fd350-edb4-49c9-b593-d223f7449a82
Sanity checks in oEmbed XML handling.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23159 602fd350-edb4-49c9-b593-d223f7449a82
Check for DOMDocument when parsing oEmbed XML responses.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23161 602fd350-edb4-49c9-b593-d223f7449a82
Makes sure attachment sizes are correctly deselected in IE. Fixes size selections on insert in IE9. props koopersmith. fixes #22851. for the 3.5 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23164 602fd350-edb4-49c9-b593-d223f7449a82
Ignore failed uploads. props koopersmith. fixes #22849. for the 3.5 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23165 602fd350-edb4-49c9-b593-d223f7449a82
3.5-RC6-23166



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23166 602fd350-edb4-49c9-b593-d223f7449a82
3.5



git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23167 602fd350-edb4-49c9-b593-d223f7449a82
Fix code vomit in IIS rewrite rule generation. fixes #22920 for the 3.5 branch. props toscho.


git-svn-id: https://develop.svn.wordpress.org/branches/3.5@23178 602fd350-edb4-49c9-b593-d223f7449a82