Plugin Directory

Changeset 2841823


Ignore:
Timestamp:
12/31/2022 03:57:47 PM (3 years ago)
Author:
bistromatic
Message:

Changed how $_SERVER is called to improve cookie handling. Tested plugin with version 6.1.1

Location:
n360-splash-screen/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • n360-splash-screen/trunk/includes/splash-screen.php

    r2675763 r2841823  
    2121    function n360_splash_page() {
    2222        if ( isset( $this->config['enable_n360_ss'] ) && $this->config['enable_n360_ss'] == 1 ) {
    23             $domain = ($_SERVER['HTTP_HOST'] != 'localhost') ? $_SERVER['HTTP_HOST'] : false;
     23            $domain = ($_SERVER['SERVER_NAME'] != 'localhost') ? $_SERVER['SERVER_NAME'] : false;
    2424            setCookie( $this->cookie_name, "n360_splash_screen", $this->cookie_expiration, "/", $domain, $_SERVER['HTTPS'] );
    2525            require_once ( N360_SPLASH_PAGE_ROOT_PATH . 'templates/default-template.php' );
  • n360-splash-screen/trunk/n360-splash-screen.php

    r2693045 r2841823  
    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.5
     7 Version: 1.0.6
    88 Author: bistromatic
    99 Author URI: https://notion360.com/
     
    1212 Text Domain: n360splashscreen
    1313 Requires at least: 4.7
    14  Tested up to: 5.9
     14 Tested up to: 6.1.1
    1515*/
    1616
  • n360-splash-screen/trunk/readme.txt

    r2693039 r2841823  
    44Tags: splash page, splash screen, splash landing page, responsive design, background image, full screen page, fade-in, fade-out
    55Requires at least: 4.7
    6 Tested up to: 5.9
    7 Stable tag: 1.0.5
     6Tested up to: 6.1.1
     7Stable tag: 1.0.6
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    6363= 1.0.5 =
    6464* added <meta> tags to improve google search results
     65= 1.0.6 =
     66* changed $_SERVER call to improve cookie handling
Note: See TracChangeset for help on using the changeset viewer.