[wp-trac] [WordPress Trac] #46089: Memory exhaustion when setting script translations on `wp-i18n`

WordPress Trac noreply at wordpress.org
Thu Jan 28 05:55:42 UTC 2021


#46089: Memory exhaustion when setting script translations on `wp-i18n`
-------------------------------------+---------------------
 Reporter:  aduth                    |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.7
Component:  Script Loader            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+---------------------

Comment (by noisysocks):

 Replying to [ticket:46089 aduth]:
 > Memory exhaustion occurs here:
 >
 >
 https://github.com/WordPress/WordPress/blob/4e3e9ca9cf893190609728848caf224034fd1ef0
 /wp-includes/class.wp-dependencies.php#L338

 I tested this and it looks like now the memory exhaustion error now
 happens in `all_deps` and not `recurse_deps`. This is likely because,
 since this ticket was opened, `recurse_deps` was updated to no longer be
 recursive. See #46469.

 Maybe we can update `all_deps` similarly.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46089#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list