Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions wp-session-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,12 @@ function wp_session_manager_deactivated_notice()
/**
* If a session hasn't already been started by some external system, start one!
*/
function wp_session_manager_start_session()
{
if (session_status() !== PHP_SESSION_ACTIVE) {
session_start();
if ( ! function_exists( 'wp_session_manager_start_session' )) {
function wp_session_manager_start_session()
{
if (session_status() !== PHP_SESSION_ACTIVE) {
session_start();
}
}
}

Expand Down