[wp-trac] [WordPress Trac] #20174: populate_network() doesn't set up rewrite rules properly
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 5 17:39:28 UTC 2012
#20174: populate_network() doesn't set up rewrite rules properly
--------------------------+------------------------------
Reporter: duck_ | Owner: duck_
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+------------------------------
Changes (by duck_):
* owner: => duck_
* status: new => closed
* resolution: => fixed
Comment:
In [20117]:
{{{
#!CommitTicketReference repository="" revision="20117"
Use WP_Rewrite::set_permalink_structure instead of plain update_option()
in populate_network(). Fixes #20174.
This has the benefit of calling WP_Rewrite::init() which correctly resets
the permalink_structure
property of the $wp_rewrite global so that the rewrite rules generated on
the next flush are correct.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20174#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list