[wp-trac] [WordPress Trac] #32075: Only set WP_MAX_MEMORY_LIMIT by default when its greater than memory_limit
WordPress Trac
noreply at wordpress.org
Sat Feb 13 14:36:56 UTC 2016
#32075: Only set WP_MAX_MEMORY_LIMIT by default when its greater than memory_limit
------------------------------------+-----------------------------
Reporter: danielbachhuber | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Bootstrap/Load | Version: 3.2
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Comment (by markoheijnen):
With the current patch the argument `$filter` isn't set. That should
become `{$context}_memory_limit`.
I do wonder if we can remove the whole switch block. It feels weird to
only have it for the docblocks for the filters. Maybe @DrewAPicture has
feedback on this. Also having a default would be great so people could use
it for their own usage.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32075#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list