[wp-trac] [WordPress Trac] #11625: Move default colours to a action hook
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 26 02:11:55 UTC 2009
#11625: Move default colours to a action hook
----------------------------+-----------------------------------------------
Reporter: dd32 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Administration | Version: 3.0
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11625>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list