XPressME Integration Kit

Trac

Changeset 702


Ignore:
Timestamp:
Apr 20, 2011, 4:13:12 PM (14 years ago)
Author:
toemon
Message:

Fix Warning: Missing argument 1 for get_xpress_latest_version()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_upgrade.php

    r701 r702  
    221221} 
    222222 
    223 function get_xpress_latest_version($check_url){ 
     223function get_xpress_latest_version($check_url=null){ 
    224224        global $wp_version, $wpdb, $wp_local_package; 
    225225        global $xoops_config; 
     
    227227        $xpress_version = $xoops_config->module_version . $xoops_config->module_codename; 
    228228        $lang = WPLANG; 
    229  
    230 //      $check_url = "http://ja.xpressme.info/version_check/index.php?version=$xpress_version&lang=$lang"; 
     229        if(is_null($check_url)) 
     230                $check_url = "http://ja.xpressme.info/version_check/index.php?version=$xpress_version&lang=$lang"; 
    231231        $request_options = array( 
    232232        'timeout' => 3, 
Note: See TracChangeset for help on using the changeset viewer.