arbitrary memory_limit in export.php
-
export.php sets memory_limit 256M without checking what the memory limit already is. If you have a lot of plug-ins enabled, php memory can balloon beyond this limit and you can’t get to your dashboard.
I suggest the “ini_set(‘memory_limit’, ‘256M’);” be wrapped in an ini_get to check the global limit, and only raise it if necessary.
The topic ‘arbitrary memory_limit in export.php’ is closed to new replies.