[wp-trac] [WordPress Trac] #33922: login_enqueue_scripts and head placement
WordPress Trac
noreply at wordpress.org
Wed Dec 23 16:51:29 UTC 2015
#33922: login_enqueue_scripts and head placement
-------------------------------------+-----------------------------
Reporter: tifosi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses:
-------------------------------------+-----------------------------
Changes (by diddledan):
* keywords: needs-patch needs-testing => needs-testing has-patch
Comment:
Explanation:
The `print_late_styles()` function was the only way styles were being
printed to the login page. This meant that the queued items for the header
were still in the queue as the queue hadn't been flushed yet. Adding a
call to `wp_print_styles()` at `login_head` allows the head-specific
styles to be flushed at the correct time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33922#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list