Index: trunk/xpressme_integration_kit/include/add_xpress_process.php
===================================================================
--- trunk/xpressme_integration_kit/include/add_xpress_process.php	(revision 358)
+++ trunk/xpressme_integration_kit/include/add_xpress_process.php	(revision 360)
@@ -2,5 +2,5 @@
 require_once( dirname( __FILE__ ).'/request_url.php');
 if (is_xpress_index_page_call()){
-	//When notifying by a private message, 
+	//When notifying by a private message, Notification_reserve_send();
 	//it is evaded that the data base becomes read-only as a result of the check on the referrer and the method. 
 	$_SERVER['REQUEST_METHOD'] = 'POST';
@@ -27,5 +27,5 @@
 	Notification_reserve_send();
 	ob_start();	
-		if($xoops_config->is_wp20 )
+		if (version_compare($xoops_config->wp_version,'2.2', '<'))
 			require_once dirname( __FILE__ ).'/old_template-loader.php' ;
 		else
@@ -49,5 +49,5 @@
 	exit();		// The return to wp-blog-header.php is stolen here
 }
-if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path;
-if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path;
+if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path;		// for Notification_triggerEvent
+if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path;	// for Notification_triggerEvent
 ?>
