Session Settings Plugin
By Matthew Botos
Update: The plugin hooks available are too late; setting the session needs to be done at the very start of wp-settings.php as originally described in WordPress PHP Session Errors.
In a previous post on WordPress PHP Session Errors, I provided a solution to PHP errors found on some hosts. Putting this solution in wp-settings.php adds a speed bump to the WordPress upgrade process, though, so I’ve redone it as a plugin. Simple plugins for WordPress are actually simple, so it was a good exercise. Here is the plugin if you’d like to study it or modify it for your own use:


