* 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
6.6 KiB
6.6 KiB