[wp-trac] [WordPress Trac] #58873: Add function to pass variables to scripts
WordPress Trac
noreply at wordpress.org
Tue Aug 19 20:42:38 UTC 2025
#58873: Add function to pass variables to scripts
-----------------------------+-----------------------------
Reporter: apedog | Owner: (none)
Type: feature request | Status: reopened
Priority: normal | Milestone: Future Release
Component: Script Loader | Version: 5.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-----------------------------+-----------------------------
Changes (by westonruter):
* keywords: 2nd-opinion => needs-patch
* milestone: => Future Release
Comment:
@jonsurrell I've used the emoji loader as a case study for this in #63842.
By eliminating the blocking inline script, I see a >5% improvement on LCP
when emulating a low-tier mobile device.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58873#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list