[wp-trac] [WordPress Trac] #17507: Hardcoded memory limit
WordPress Trac
wp-trac at lists.automattic.com
Thu May 19 13:40:12 UTC 2011
#17507: Hardcoded memory limit
------------------------------+-----------------------------
Reporter: christianbolstad | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Performance | Version: 3.2
Severity: normal | Keywords: has-patch
------------------------------+-----------------------------
In several places the maxium memory limit is hard coded to 256M instead of
using the WP_MEMORY_LIMIT constant introduced in WP 2.5.
For the admin side, where there can be legit need for even more memory It
is possible to override this setting at one place in the code with a
filter. The same possibilty should exist for all similar calls.
Fix/Patch:
I have changed the hard coded value to the constant WP_MEMORY_LIMIT for
the user side memory setting and have applied the existing filter
('admin_memory_limit') to all on the wp-admin end.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17507>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list