WordPress.org

Make WordPress Core

Changeset 13509


Ignore:
Timestamp:
02/28/2010 07:34:57 PM (11 years ago)
Author:
wpmuguru
Message:

dont flush rewrite rules while in switch_to_blog, see #12383

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-edit.php

    r13505 r13509  
    219219        }
    220220
    221         $wp_rewrite->flush_rules();
     221        // rewrite rules can't be flushed during switch to blog
     222        update_option( 'rewrite_rules', '' );
    222223
    223224        // update blogs table
Note: See TracChangeset for help on using the changeset viewer.