XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 4, 2009, 2:02:54 PM (16 years ago)
Author:
toemon
Message:

WordPressME2.0.11への対応,(ブロック周りは未完)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/xoops_version.php

    r249 r252  
    3131$modversion['name'] = ucfirst($mydirname) . ' ' . constant('_MI_XP2_NAME') ; 
    3232$modversion['description'] = constant( '_MI_XP2_DESC'); 
    33 $modversion['version'] = "2.00"; 
     33$modversion['version'] = "2.10"; 
    3434$modversion['credits'] = "Wordpress DEV (http://wordpress.org/) XPressME DEV Toemon) (http://ja.xpressme.info) ;"; 
    3535$modversion['author'] = "toemon (http://ja.xpressme.info)"; 
     
    4040 
    4141// status 
    42 $modversion['codename'] = ""; 
     42$modversion['codename'] = "Bata-1"; 
    4343 
    4444// onInstall, onUpdate, onUninstall 
     
    8181        if (@$current_user->user_level > 0) { 
    8282        $modversion['sub'][1]['name'] = constant( '_MI_XP2_MENU_POST_NEW'); 
    83         $modversion['sub'][1]['url'] = "wp-admin/post-new.php"; 
     83        if ($wp_db_version > 5000) 
     84                $modversion['sub'][1]['url'] = "wp-admin/post-new.php"; 
     85        else 
     86                $modversion['sub'][1]['url'] = "wp-admin/post.php"; 
    8487        $modversion['sub'][2]['name'] = constant( '_MI_XP2_MENU_EDIT'); 
    8588        $modversion['sub'][2]['url'] = "wp-admin/edit.php"; 
Note: See TracChangeset for help on using the changeset viewer.