Files
WordPress/wp-admin
nacin 2abd3ad571 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
2012-06-12 18:39:16 +00:00
..
2012-05-03 16:41:59 +00:00
2012-05-03 16:41:59 +00:00
2011-12-01 04:51:35 +00:00
2012-01-05 20:10:39 +00:00
2012-01-05 20:10:39 +00:00
2012-06-10 17:37:49 +00:00
2012-04-30 21:56:32 +00:00