Index: trunk/include/include_xoops_define.php
===================================================================
--- trunk/include/include_xoops_define.php	(revision 68)
+++ trunk/include/include_xoops_define.php	(revision 91)
@@ -72,4 +72,16 @@
 }
 
+function is_wp_cron_call(){
+	$xpress_root_index = basename(dirname(dirname( __FILE__ ))) . '/wp-cron.php';
+	$php_script_name = $_SERVER['SCRIPT_NAME'];
+	if (strstr($php_script_name,$xpress_root_index) !== false) return true; else  return false;
+}
+
+
+if (is_wp_cron_call() ){
+	$_SERVER['HTTP_REFERER'] = 'http://'. $_SERVER[HTTP_HOST]  . $_SERVER['PHP_SELF'];
+	$_SERVER['REQUEST_METHOD'] = 'POST';
+}
+
 if (is_media_upload_page_call() ){
 	if ( !defined("XOOPS_ROOT_PATH") ) {
