[wp-trac] [WordPress Trac] #64683: _print_scripts should use the wp_inline_script_attributes filter
WordPress Trac
noreply at wordpress.org
Mon May 4 02:36:44 UTC 2026
#64683: _print_scripts should use the wp_inline_script_attributes filter
---------------------------+-------------------------
Reporter: galaxor | Owner: galaxor
Type: enhancement | Status: assigned
Priority: normal | Milestone: 7.1
Component: Script Loader | Version: 2.8
Severity: normal | Resolution:
Keywords: | Focuses: javascript
---------------------------+-------------------------
Changes (by westonruter):
* owner: westonruter => galaxor
* status: accepted => assigned
Comment:
@galaxor Sorry for the delay. Yes, it would be great if `_print_scripts()`
was updated to use `wp_print_inline_script_tag()` and
`wp_print_script_tag()` instead of manually constructing the script tags.
Please do open a PR.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64683#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list