[wp-trac] Re: [WordPress Trac] #7011: Create wp_print_styles() to match wp_print_scripts()

WordPress Trac wp-trac at lists.automattic.com
Sun May 25 20:13:19 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  |  
---------------------------------+------------------------------------------
Comment (by azaozz):

 All works very well, now css files can be registered, deregistered,
 enqueued, etc. like the js files.

 A small side note: the way the RTL css files are added in script-
 loader.php is a bit hard to read. Perhaps we could add them one by one
 under each corresponding css file, with paths, like wp-admin.css. It will
 make it slightly bulkier, but would be a lot easier to read/edit (and the
 conditional is_bool() can be removed from class.wp-styles.php).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7011#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list