[wp-trac] [WordPress Trac] #59505: Fix HTML5 validation error for skip-link css on footer
WordPress Trac
noreply at wordpress.org
Fri Oct 13 17:19:46 UTC 2023
#59505: Fix HTML5 validation error for skip-link css on footer
----------------------------------------------+--------------------------
Reporter: plugindevs | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.4
Component: Themes | Version: 5.9
Severity: normal | Resolution: fixed
Keywords: has-patch has-screenshots commit | Focuses: css
----------------------------------------------+--------------------------
Changes (by westonruter):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"56932" 56932]:
{{{
#!CommitTicketReference repository="" revision="56932"
Script Loader: Enqueue inline style for block template skip link in head
instead of footer.
* Introduce `wp_enqueue_block_template_skip_link()` to replace
`the_block_template_skip_link()`. Add to `wp_enqueue_scripts` action
instead of `wp_footer`.
* Keep inline script for skip link in footer.
* Restore original `the_block_template_skip_link()` from 6.3 and move to
`deprecated.php`.
* Preserve back-compat for unhooking skip-link by removing
`the_block_template_skip_link` from `wp_footer` action.
Follow-up to [56682] and [56687].
Props sabernhardt, plugindevs, westonruter, spacedmonkey.
Fixes #59505.
See #58775.
See #58664.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59505#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list