Removed the need for a new session to be created on every request. This is an antipattern and can cause issues. This was only used for "flash" messages. Most instances have been replaced with WP notices.
Type of change
Bug fix (non-breaking change that fixes an issue)
Related issues
Fix #85
Checklists
Development
[x] Lint rules pass locally
[ ] The code changed/added as part of this pull request has been covered with tests
[x] All tests related to the changed code pass in development
Code review
[ ] This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
[ ] "Ready for review" label attached to the PR and reviewers assigned
[ ] Issue from task tracker has a link to this pull request
[ ] Changes have been reviewed by at least one other engineer
Description of the change
Removed the need for a new session to be created on every request. This is an antipattern and can cause issues. This was only used for "flash" messages. Most instances have been replaced with WP notices.
Type of change
Bug fix (non-breaking change that fixes an issue)
Related issues
Fix #85
Checklists
Development
Code review