Changeset 2526190
- Timestamp:
- 05/04/2021 09:08:01 PM (5 years ago)
- Location:
- private-file-for-woocommerce/trunk
- Files:
-
- 2 edited
-
includes/plugin.class.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
private-file-for-woocommerce/trunk/includes/plugin.class.php
r2476667 r2526190 38 38 add_action( 'init', array( &$this, 'load_styles' ) ); 39 39 add_action( 'init', array( &$this, 'load_defaults' ) ); 40 add_action( 'init', array( &$this, 'load_close') ); 40 41 add_action( 'plugins_loaded', array( &$this, 'load_addons' ) ); 41 42 add_action( 'admin_init', array( &$this, 'check_versions' ) ); … … 143 144 } 144 145 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 145 154 /** 146 155 * This is the base directory where we will store the user files -
private-file-for-woocommerce/trunk/readme.txt
r2476667 r2526190 4 4 Tags: private file, woocommerce, private content, myaccount woocommerce 5 5 Requires at least: 4.9 6 Tested up to: 5. 6.06 Tested up to: 5.7.1 7 7 Tested WooCommerce up to: 5.0.0 8 Stable Tag: trunk8 Stable Tag: 1.0.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 70 70 == Changelog == 71 71 72 Nessuna 72 = 1.0.1 = 73 74 Fix closed session in includes/plugin.class.php #40 and #149, reported by Site Health 73 75 74 76 = 1.0 =
Note: See TracChangeset
for help on using the changeset viewer.