Plugin Directory

Changeset 2693045


Ignore:
Timestamp:
03/12/2022 09:37:12 PM (4 years ago)
Author:
bistromatic
Message:

session handling bug fix

Location:
n360-splash-screen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • n360-splash-screen/tags/1.0.5/n360-splash-screen.php

    r2693039 r2693045  
    55 Plugin URI: https://notion360.com/SplashScreen/
    66 Description: Creates a fading splash screen as a landing page for your Wordpress website
    7  Version: 1.0.4
     7 Version: 1.0.5
    88 Author: bistromatic
    99 Author URI: https://notion360.com/
     
    3131        require_once ( N360_SPLASH_PAGE_ROOT_PATH . 'includes/admin.php' );
    3232    } else {
    33         session_start();
     33        if (session_status() == PHP_SESSION_NONE) {
     34            session_start();
     35        }
    3436        $home_url_rel = wp_make_link_relative(get_home_url()) . '/';
    3537        if ( $_SERVER['REQUEST_URI'] == $home_url_rel ) {
  • n360-splash-screen/trunk/n360-splash-screen.php

    r2675763 r2693045  
    55 Plugin URI: https://notion360.com/SplashScreen/
    66 Description: Creates a fading splash screen as a landing page for your Wordpress website
    7  Version: 1.0.4
     7 Version: 1.0.5
    88 Author: bistromatic
    99 Author URI: https://notion360.com/
     
    3131        require_once ( N360_SPLASH_PAGE_ROOT_PATH . 'includes/admin.php' );
    3232    } else {
    33         session_start();
     33        if (session_status() == PHP_SESSION_NONE) {
     34            session_start();
     35        }
    3436        $home_url_rel = wp_make_link_relative(get_home_url()) . '/';
    3537        if ( $_SERVER['REQUEST_URI'] == $home_url_rel ) {
Note: See TracChangeset for help on using the changeset viewer.