Move default colours to a action hook
|Reported by:||dd32||Owned by:|
At present, wp_admin_css_color() is being called directly from wp-admin/admin.php this has the disadvantage, that if a plugin wants to hook and output a themed page to admin-post.php, its not possible to do that whilst retaining the colour themes. (As admin.php is only included for "content filled backend pages"
Attached patch moves it to a function thats hooked to admin_init.