XPressME Integration Kit

Trac

Changeset 369 for trunk


Ignore:
Timestamp:
Aug 24, 2009, 8:58:54 PM (15 years ago)
Author:
toemon
Message:

XPressME のアップデート通知の実装でのfunction_exists()構文修正 fixes #205

File:
1 edited

Legend:

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

    r368 r369  
    3434        add_submenu_page(__FILE__, __('Integration Settings', 'xpressme'), __('Integration Settings', 'xpressme'), 8, 'integration_option_page', 'integration_option_page'); 
    3535        add_submenu_page(__FILE__, __('Other Settings', 'xpressme'), __('Other Settings', 'xpressme'), 8, 'other_option_page', 'other_option_page'); 
    36         if (function_exists(wp_remote_get)) 
     36        if (function_exists('wp_remote_get')) 
    3737                add_submenu_page(__FILE__, __('Upgrade', 'xpressme'), __('Upgrade', 'xpressme'), 8, 'upgrade_page', 'upgrade_page'); 
    3838        add_submenu_page(__FILE__, __('to XOOPS Admin', 'xpressme'), __('to XOOPS Admin', 'xpressme'), 8,  'redirect_xoops_admin', 'redirect_xoops_admin'); 
     
    320320        ); 
    321321 
    322         if (! function_exists(wp_remote_get)) return false; 
     322        if (! function_exists('wp_remote_get')) return false; 
    323323         
    324324        $response = wp_remote_get($check_url, $request_options); 
Note: See TracChangeset for help on using the changeset viewer.