[wp-trac] [WordPress Trac] #50999: Scripts loaded through concatenation don't print their translations.
WordPress Trac
noreply at wordpress.org
Thu Aug 27 14:59:26 UTC 2020
#50999: Scripts loaded through concatenation don't print their translations.
-------------------------------------+-------------------------------------
Reporter: herregroen | Owner: ocean90
Type: defect (bug) | Status: reviewing
Priority: high | Milestone: 5.5.1
Component: I18N | Version: 5.5
Severity: major | Resolution:
Keywords: has-patch needs-testing | Focuses: accessibility,
needs-unit-tests | javascript
-------------------------------------+-------------------------------------
Comment (by ocean90):
Replying to [comment:25 ocean90]:
> Inspecting the source I see [https://cloudup.com/cdPsn0rddeV this]
without the plugin and [https://cloudup.com/cOFeh2DOov3 this] with the
plugin activated.
The difference is caused by the `wp-polyfill` script which prevents
concatenation due to the inline scripts. In core, it's always enqueued in
the footer, thus no concatenation is enabled for most of the scripts. With
Yoast SEO activated, `wp-polyfill` gets already loaded in the header and
disables concatenation only for the header scripts, meaning concatenation
is enabled for all footer scripts, making the issue visible.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50999#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list