XPressME Integration Kit

Trac

Changeset 400


Ignore:
Timestamp:
Oct 15, 2009, 4:34:27 PM (15 years ago)
Author:
toemon
Message:

ユーザメニュー用のウィジェット追加 #220
ひな形作成

Location:
trunk/xpressme_integration_kit/wp-content/plugins/xpressme
Files:
2 edited

Legend:

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

    r363 r400  
    585585         
    586586        if (xpress_is_wp_version('>=','2.1')){ 
    587                 $output = '<a href="'. get_xpress_url() . '/wp-admin/post-new.php' . '">' . $link_title . '</a>'; 
    588         } else { 
    589                 $output = '<a href="'. get_xpress_url() . '/wp-admin/post.php' . '">' . $link_title . '</a>'; 
     587                $output = '<a href="'. get_bloginfo('url') . '/wp-admin/post-new.php' . '">' . $link_title . '</a>'; 
     588        } else { 
     589                $output = '<a href="'. get_bloginfo('url') . '/wp-admin/post.php' . '">' . $link_title . '</a>'; 
    590590        }        
    591591        if ($echo) 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php

    r392 r400  
    462462include_once dirname( __FILE__ ).'/include/dashboard_feed.php' ; 
    463463 
     464include_once dirname( __FILE__ ).'/xpressme_widget_class.php' ; 
     465 
    464466?> 
Note: See TracChangeset for help on using the changeset viewer.