3.4-RC3

git-svn-id: http://core.svn.wordpress.org/trunk@21059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix warning when processing read_post cap. Props duck_. fixes #20917

git-svn-id: http://core.svn.wordpress.org/trunk@21060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use the proper value for the switch-theme nonce in the upgrader. Fixes child theme activation after install. props duck_. fixes #20914.



git-svn-id: http://core.svn.wordpress.org/trunk@21061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use the stylesheet rather than the template to create the network enable theme nonce. Fix network enable redirect following theme installation. Props duck_, nacin. fixes #20916

git-svn-id: http://core.svn.wordpress.org/trunk@21062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fallback to /themes when there is no theme root. Props duck_. see #20919

git-svn-id: http://core.svn.wordpress.org/trunk@21063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Force a theme directory scan after installing and upgrading themes. Props nacin. fixes #20919

git-svn-id: http://core.svn.wordpress.org/trunk@21064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Prevent hoverIntent from shifting open, expanded admin menus if the entire submenu is not visible. props SergeyBiryukov, fixes #20857.


git-svn-id: http://core.svn.wordpress.org/trunk@21065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.4-RC3-21066.

git-svn-id: http://core.svn.wordpress.org/trunk@21066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Prevent delete theme link from bumping against theme action links. If it doesn't fit, it doesn't fit, man. props SergeyBiryukov, fixes #20918.


git-svn-id: http://core.svn.wordpress.org/trunk@21067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.4-RC3-21068.

git-svn-id: http://core.svn.wordpress.org/trunk@21068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Validate themes with more than just an existence check.
 * The current theme goes through validate_current_theme().
 * If doing a preview of a different theme, we check theme->errors().

Also:
 * Don't attach previewing hooks when previewing the current theme.
Aside from being unnecessary, this prevents issues with a theme with
the error of theme_parent_invalid.
 * Call send_origin_headers() earlier, to allow wp_die( '0' ) to properly
be returned in a domain mapping situation.
 * Fix the 'Save & Activate' message on themes.php.

fixes #20921.



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

git-svn-id: http://core.svn.wordpress.org/trunk@21070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Customize: If the preview is not logged in but the admin is, perform a front page request to setup any mapped domain cookies and then retry loading the preview.

Props nacin, koopersmith
fixes #20926


git-svn-id: http://core.svn.wordpress.org/trunk@21071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.4-RC3-21072.

git-svn-id: http://core.svn.wordpress.org/trunk@21072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Pass a post object instead of ID to help preserve ancestors. Props duck_. fixes #18536

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