XPressME Integration Kit

Trac

Changeset 547


Ignore:
Timestamp:
Mar 15, 2010, 7:18:06 PM (15 years ago)
Author:
toemon
Message:

r546 の対策で非マルチブログ時Fatal error: Call to undefined function get_blog_list() が発生するバグを修正 Fixes #308

File:
1 edited

Legend:

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

    r546 r547  
    10561056        $ret = array(); 
    10571057 
    1058         $blog_list = get_blog_list(); 
    1059         $root_path = get_blog_status(1,'path'); 
    10601058        if (xpress_is_multiblog() && is_user_logged_in()){ 
     1059                $blog_list = get_blog_list(); 
     1060                $root_path = get_blog_status(1,'path'); 
    10611061                $primary_blog_id = @$current_user->primary_blog; 
    10621062                $primary_path = get_blog_status($primary_blog_id,'path'); 
Note: See TracChangeset for help on using the changeset viewer.