[wp-trac] [WordPress Trac] #46089: Memory exhaustion when setting script translations on `wp-i18n`
WordPress Trac
noreply at wordpress.org
Wed May 15 19:28:41 UTC 2019
#46089: Memory exhaustion when setting script translations on `wp-i18n`
-------------------------------------+-----------------------------
Reporter: aduth | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+-----------------------------
Comment (by aduth):
@VadimNicolai , as
[https://wordpress.slack.com/archives/C02QB2JS7/p1557863367231300
mentioned in Slack], this should not be an issue for out-of-the-box use of
either WordPress or Gutenberg. It requires specific code to be run for the
memory exhaustion to occur. If you're encountering it, it's likely there
is some combination of plugins or local changes which is prompting the
error.
The purpose of the ticket is more in providing safeguards in core to
prevent this from ever occurring. It could also be expanded to the broader
concern that the script loader allows for circular dependencies to be
resolved recursively (vs. disallowing registration of these dependencies
or bailing out upon detection of the circular dependency).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46089#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list