Hardcoded memory limit
|Reported by:||christianbolstad||Owned by:|
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.
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.
Change History (6)
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed