[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
Wed Jul 18 20:20:40 UTC 2012
#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: Future Release
Component: Administration | Version: 3.2
Severity: normal | Resolution:
Keywords: has-patch 3.5-early |
---------------------------------+-----------------------------
Comment (by husobj):
Replying to [comment:34 SergeyBiryukov]:
> Replying to [comment:33 husobj]:
> > Also note that wp_print_footer_scripts() is called via filter in the
login footer anyway so why not load the scripts in the header like
everywhere else?
>
> `wp_print_head_scripts()` is called as well, the patch adds
`wp_print_styles()`.
wp_print_footer_scripts() triggers an action[[BR]]
which calls _wp_footer_scripts()[[BR]]
which calls print_late_styles()[[BR]]
...so the styles get loaded in the footer of the login page anyway.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17916#comment:35>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list