[wp-trac] [WordPress Trac] #16201: when updating a multisite blog subblogs getting 404 error

WordPress Trac noreply at wordpress.org
Wed May 8 20:26:43 UTC 2013


#16201: when updating a multisite blog subblogs getting 404 error
---------------------------+------------------------------
 Reporter:  YogieAnamCara  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Multisite      |     Version:  3.0
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |
---------------------------+------------------------------

Comment (by wp4j):

 I confirm as well that this bug is still present and adding update_option(
 'rewrite_rules', array() ); like this seems to fix the issue:


 {{{
 $blog_id = wpmu_create_blog($domain, $path, $title, $wp_user_id, $meta);

                         switch_to_blog($blog_id);
                         update_option( 'rewrite_rules', array() );
                         restore_current_blog();
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16201#comment:26>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list