[wp-trac] [WordPress Trac] #17916: Enqueued styles are only printed on login_footer in wp-login.php

WordPress Trac noreply at wordpress.org
Mon Nov 5 19:19:34 UTC 2012


#17916: Enqueued styles are only printed on login_footer in wp-login.php
----------------------------+-----------------------------
 Reporter:  Cimmo           |       Owner:
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  3.2
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+-----------------------------
Changes (by nacin):

 * keywords:  has-patch commit => needs-patch
 * milestone:  3.5 => Future Release


Comment:

 I think this patch revives http://make.wordpress.org/core/2011/12/12/use-
 wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-
 the-frontend/. This is probably time to create a new function, such as
 wp_print_head_styles() (like wp_print_head_scripts), that does not accept
 a set of handles, and simply does the printing. Otherwise, calling
 wp_print_styles() in this case will fire the wp_print_styles hook.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17916#comment:40>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list