[wp-trac] [WordPress Trac] #62731: Inline CSS inserted by wp_print_auto_sizes_contain_css_fix too high in HTML
WordPress Trac
noreply at wordpress.org
Tue Jun 10 23:37:43 UTC 2025
#62731: Inline CSS inserted by wp_print_auto_sizes_contain_css_fix too high in HTML
---------------------------+---------------------
Reporter: superpoincare | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.9
Component: Media | Version: 6.7.1
Severity: minor | Resolution:
Keywords: has-patch | Focuses:
---------------------------+---------------------
Changes (by westonruter):
* component: General => Media
* milestone: Awaiting Review => 6.9
Comment:
Thank you for the ping. I've been wondering about this style and why it is
printed so early.
It seems like it should have been enqueued as an inline style like was
done in #58775 for the emoji styles. I've opened a
[https://github.com/WordPress/wordpress-develop/pull/8954 PR] to make this
change. It's currently a draft because I'd like to add tests before
proceeding to commit, and I want affirmation on the direction before
writing tests.
@joemcgill @flixos90 Any specific reason for why the style was manually
printed at `wp_head`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62731#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list