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

WordPress Trac noreply at wordpress.org
Fri Aug 30 15:17:08 UTC 2013


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

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  3.7 =>


Comment:

 The issue being described by mackensen and others when creating new sites
 is a duplicate of #20171. However, the original issue is about broken
 rewrite rules when upgrading multisite.

 The OP's issue was caused by Nextgen Gallery flushing rewrite rules on
 site upgrade. It used to have a [http://plugins.trac.wordpress.org/browser
 /nextgen-gallery/tags/1.7.0/nggallery.php?rev=764776#L461 function hooked
 into `wpmu_upgrade_site`] that would call an
 [http://plugins.trac.wordpress.org/browser/nextgen-
 gallery/tags/1.7.0/admin/upgrade.php?rev=764776#L110 upgrade routine that
 would flush rewrite rules]. However, the hook runs in the context of the
 site from which the upgrade is performed (the main site) and so the
 regenerated rewrite rules were incorrect. Looks like this stuff was
 removed from ngg in version 1.9.9.

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


More information about the wp-trac mailing list