* Plugin Name: GLM Associate - Members Plugin
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media GLM Associate core plugin and Members database.
- * Version: 2.10.45
+ * Version: 2.10.46
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabase
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 2.10.45
+ * @version 2.10.46
*/
$GLOBALS['glmAssociateMemTracker'] = memory_get_usage();
*
*/
-define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.45');
+define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.46');
define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.44');
// Check if plugin version is not current in WordPress option and if needed updated it
trigger_error(glmAssociateMemoryUsage()." - End glm-member-db setup",E_USER_NOTICE);
}
+// Initialize a PHP session if not already set
+add_action( 'init', function(){
+ if ( ! session_id() ) {
+ session_start();
+ }
+});
+
/*
*
* Run desired controller
* Fixed member listings not using selected sort order setting past first page.
* Smarty Templates updated to version 3.1.33 due to use of "each()" that is being depricated in PHP.
+= 2.10.46 =
+* Moved session startup from adminHooks.php to index.php to ensure there's always a session started.
+
= 2.10.43 =
* Country is no longer required for Authorize.net Payment Gateway unless International payment
__( 'Help Guide' ) . '</a></p>'
);
}
-
-// If no session then start one.
-add_action( 'init', function(){
- if ( ! session_id() ) {
- session_start();
- }
-});