Fixing login errors (Cannot allocate memory Error) caused by creating child processes in WordPress after version 3.2.
This plugin is for all who got problems logging in from time to time, and in log files can see this error (Cannot allocate memory Error). THe error comes from WordPress creating a child process in the login and because of changes in WP 3.2 some sites got problems with this, the result is that you cannot login without trying again and again. This plugin checks if the return_to POST is set when loggin in, if it is set, the plugin will overwrite the normal procedure for redirecting and redirect before WordPress uses the normal redirect. This way as admin or user, does not get problems when logging in because of return_to and memory errors. It is not a permanent fix, but works 9 out of 10 times.