[wp-trac] [WordPress Trac] #17916: wp_register_style makes the RTL to be lost in some CSS files
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 19 12:42:20 UTC 2011
#17916: wp_register_style makes the RTL to be lost in some CSS files
----------------------------+-----------------------
Reporter: Cimmo | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.3
Component: Administration | Version: 3.2
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+-----------------------
Comment (by Cimmo):
> With the patch applied, the right hook for enqueuing styles would be
wp_print_styles, not login_head.
Not really if you want to add the css only in the registration page for
example instead of spamming everything.
> Actually, the best hook is wp_enqueue_scripts. There are equivalent
login_ and admin_ versions as well.
Exactly! Thanks.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17916#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list