XPressME Integration Kit

Trac

Changeset 363


Ignore:
Timestamp:
Aug 17, 2009, 9:15:40 AM (15 years ago)
Author:
toemon
Message:

WP2.1.3MEで新規投稿のリンク修正 fixes #201

Location:
trunk/xpressme_integration_kit
Files:
2 edited

Legend:

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

    r360 r363  
    584584 
    585585         
    586         if ($xoops_config->wp_db_version  > 5000){ 
     586        if (xpress_is_wp_version('>=','2.1')){ 
    587587                $output = '<a href="'. get_xpress_url() . '/wp-admin/post-new.php' . '">' . $link_title . '</a>'; 
    588588        } else { 
  • trunk/xpressme_integration_kit/xoops_version.php

    r359 r363  
    8181        if (@$current_user->user_level > 0) { 
    8282        $modversion['sub'][1]['name'] = constant( '_MI_XP2_MENU_POST_NEW'); 
    83         if ($wp_db_version > 5000) 
     83        if ($wp_db_version > 4000) 
    8484                $modversion['sub'][1]['url'] = "wp-admin/post-new.php"; 
    8585        else 
Note: See TracChangeset for help on using the changeset viewer.