XPressME Integration Kit

Trac

Changeset 544


Ignore:
Timestamp:
Mar 15, 2010, 1:37:21 PM (15 years ago)
Author:
toemon
Message:

add comment 'switch_to_blog() does not handle permalinks '

File:
1 edited

Legend:

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

    r542 r544  
    870870                foreach ($blogs AS $blog) { 
    871871                        switch_to_blog($blog['blog_id']); 
    872                         $wp_rewrite->init(); 
     872                        $wp_rewrite->init();  // http://core.trac.wordpress.org/ticket/12040 is solved, it is unnecessary. 
    873873 
    874874                                if (empty($num)){ 
     
    962962                } // end foreach 
    963963//              switch_to_blog($first_blogid); 
    964                 $wp_rewrite->init(); 
     964                $wp_rewrite->init(); // http://core.trac.wordpress.org/ticket/12040 is solved, it is unnecessary. 
    965965 
    966966                restore_current_blog(); 
Note: See TracChangeset for help on using the changeset viewer.