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

WordPress Trac wp-trac at lists.automattic.com
Wed May 21 23:04:29 GMT 2008


#7011: Create wp_print_styles() to match wp_print_scripts()
---------------------------------+------------------------------------------
 Reporter:  mdawaffe             |        Owner:  anonymous
     Type:  enhancement          |       Status:  new      
 Priority:  normal               |    Milestone:  2.6      
Component:  General              |      Version:  2.5.1    
 Severity:  normal               |   Resolution:           
 Keywords:  backpress has-patch  |  
---------------------------------+------------------------------------------
Comment (by mdawaffe):

 7011.b.diff

  1. Adds {{{wp_default_styles()}}} that registers core CSS.
  2. Converts {{{wp_admin_css()}}} which now *enqueues* if possible, and
 prints if we've already printed the queue.  No more annoying one off
 functions adding a call to {{{wp_admin_css()}}} in {{{admin_head}}}.
  3. Adds support in {{{WP_Styles}}} for RTL stylesheets and conditionally
 loaded stylesheets.
  4. Switch from {{{clean_url()}}} to {{{attribute_escape()}} so that URLs
 could be relative.  Bad idea?.

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


More information about the wp-trac mailing list