Plugin Directory

Changeset 2526190


Ignore:
Timestamp:
05/04/2021 09:08:01 PM (5 years ago)
Author:
4wpbari
Message:

Fix closed session in includes/plugin.class.php #40 and #149, reported by Site Health

Location:
private-file-for-woocommerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • private-file-for-woocommerce/trunk/includes/plugin.class.php

    r2476667 r2526190  
    3838        add_action( 'init', array( &$this, 'load_styles' ) );       
    3939        add_action( 'init', array( &$this, 'load_defaults' ) );
     40        add_action( 'init', array( &$this, 'load_close') );
    4041        add_action( 'plugins_loaded', array( &$this, 'load_addons' ) );
    4142        add_action( 'admin_init', array( &$this, 'check_versions' ) );
     
    143144    }
    144145   
     146        /**
     147     * Initialise close session
     148     */
     149    public function load_close() { 
     150        // Stop a session in login and logout
     151        session_write_close();
     152    }
     153   
    145154    /**
    146155     * This is the base directory where we will store the user files
  • private-file-for-woocommerce/trunk/readme.txt

    r2476667 r2526190  
    44Tags: private file, woocommerce, private content, myaccount woocommerce
    55Requires at least: 4.9
    6 Tested up to: 5.6.0
     6Tested up to: 5.7.1
    77Tested WooCommerce up to: 5.0.0
    8 Stable Tag: trunk
     8Stable Tag: 1.0.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7070== Changelog ==
    7171
    72 Nessuna
     72= 1.0.1 =
     73
     74Fix closed session in includes/plugin.class.php #40 and #149, reported by Site Health
    7375
    7476= 1.0 =
Note: See TracChangeset for help on using the changeset viewer.