[wp-trac] Re: [WordPress Trac] #7011: Create wp_print_styles() to
match wp_print_scripts()
WordPress Trac
wp-trac at lists.automattic.com
Thu May 22 00:03:21 GMT 2008
#7011: Create wp_print_styles() to match wp_print_scripts()
---------------------------------+------------------------------------------
Reporter: mdawaffe | Owner: mdawaffe
Type: enhancement | Status: assigned
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5.1
Severity: normal | Resolution:
Keywords: backpress has-patch |
---------------------------------+------------------------------------------
Changes (by mdawaffe):
* owner: anonymous => mdawaffe
* status: new => assigned
Comment:
7011.d.diff
1. Add {{{$force_echo}}} parameter to {{{wp_admin_css()}}}.
2. Add {{{admin_print_styles}}} action to a few files that don't use
admin-header.php.
3. Use the above 2 to fix style printing/queueing on files that don't use
admin-header.php.
4. Manually register colors-fresh for the sake of wp-login.php. colors-
classic or others are not needed. Slightly hacky.
5. Remove all one-off functions that add a {{{wp_admin_css()}}} call to
{{{admin_head}}} or similar.
6. Deprecated {{{wp_admin_css( 'css/whatever' )}}} in favor of
{{{wp_admin_css( 'whatever' )}}}.
--
Ticket URL: <http://trac.wordpress.org/ticket/7011#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list