Index: /branches/Ver3.0/xpressme_integration_kit/class/wpInfo_class.php
===================================================================
--- /branches/Ver3.0/xpressme_integration_kit/class/wpInfo_class.php	(revision 745)
+++ /branches/Ver3.0/xpressme_integration_kit/class/wpInfo_class.php	(revision 746)
@@ -165,9 +165,18 @@
 	public function get_download_info($locale='')
 	{
-		$sql_version = preg_replace('/[^0-9.].*/', '', $this->mysql_version);
+		$local_package = '';
+		$mysql_version = preg_replace('/[^0-9.].*/', '', $this->mysql_version);
 		$php_version = $this->php_version;
+
 		if (empty($locale)) $locale = $this->wp_Lang;
-		$url = "http://api.wordpress.org/core/version-check/1.5/?php=" . $php_version . "&locale=" . $locale . "&mysql=" . $sql_version;
-
+
+/* test		
+		$mysql_version='4.0.27';
+		$php_version = '4.1.1';
+*/
+		// wprdpress original option
+		// ?version=$wp_version&php=$php_version&locale=$locale&mysql=$mysql_version&local_package=$local_package";
+		$option = "?php=$php_version&locale=$locale&mysql=$mysql_version&local_package=$local_package";
+		$url = "http://api.wordpress.org/core/version-check/1.5/" .$option;
 		$handle = @fopen($url,'r');
 		if ($handle) {
@@ -199,6 +208,7 @@
 				$en_download_url = $ans[1][2];
 			}
+			$ret = $this->text_indent('(Check URL: '.$url.')',3);
 			if ($locale == $download_lang){
-				$ret = $this->text_indent(sprintf(_AM_XP2_WP_INFO_1,$locale),2);
+				$ret .= $this->text_indent(sprintf(_AM_XP2_WP_INFO_1,$locale),2);
 				$ret .= $this->text_indent('<a href="'.$download_url.'">' . $download_url .'</a>' ,3);
 				if (!empty($en_download_url)){
@@ -207,5 +217,5 @@
 				}
 			} else {
-				$ret = $this->text_indent(sprintf(_AM_XP2_WP_INFO_2,$locale));
+				$ret .= $this->text_indent(sprintf(_AM_XP2_WP_INFO_2,$locale));
 				$ret .= $this->text_indent(_AM_XP2_WP_INFO_3,2);
 				$ret .= $this->text_indent('<a href="http://codex.wordpress.org/WordPress_in_Your_Language" target="	_blank">WordPress_in_Your_Language</a>' ,3);
