Add New Filter to validate_current_theme
|Reported by:||transom||Owned by:|
I am finding that as I build more complicated themes, I need to check for prerequisites (certain plugins, php5, whatever). The current function has no means of catching the theme activation and checking.
Attached is a patch that add a new validate_current_theme_requirements to the function. The patch also modifies the wp-admin/themes.php to check for a WP_Error result and output the provided error.