mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 11:14:36 +00:00
* 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: https://develop.svn.wordpress.org/trunk@21069 602fd350-edb4-49c9-b593-d223f7449a82
6.6 KiB
6.6 KiB