It's good practice to check if a session has started before starting a new one. I'm integrating this into custom WordPress code and the unit test suite already creates a session. The result is
session_start(): Cannot send session cookie - headers already sent by (output started at...
It's good practice to check if a session has started before starting a new one. I'm integrating this into custom WordPress code and the unit test suite already creates a session. The result is
session_start(): Cannot send session cookie - headers already sent by (output started at...
I'll create a pull request with the fix.