[wp-trac] [WordPress Trac] #59505: Fix HTML5 validation error for skip-link css on footer
WordPress Trac
noreply at wordpress.org
Thu Oct 12 17:45:43 UTC 2023
#59505: Fix HTML5 validation error for skip-link css on footer
---------------------------------------+------------------------------
Reporter: plugindevs | Owner: < plugindevs >
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 5.9
Severity: normal | Resolution:
Keywords: has-patch has-screenshots | Focuses: css
---------------------------------------+------------------------------
Comment (by westonruter):
Note that there are other instances where a `style` can appear in the
`body`. Also, this is what `print_late_styles()` is for. See also
https://github.com/WordPress/gutenberg/issues/38917
That being said, it makes sense to me that this should be moved from
`wp_footer` to `wp_enqueue_scripts`, especially after #58775 and #58664.
@sabernhardt I've put your patch into a new PR and added the back-compat
code: https://github.com/WordPress/wordpress-develop/pull/5472
cc @spacedmonkey
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59505#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list