[wp-trac] [WordPress Trac] #20171: Categories/Tags links are broken in WP 3.3.1, with multisite/subfolder install

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 4 11:43:33 UTC 2012


#20171: Categories/Tags links are broken in WP 3.3.1, with multisite/subfolder
install
--------------------------+------------------------------
 Reporter:  tszming       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------
Changes (by duck_):

 * version:  3.3.1 => 3.1


Comment:

 Rewrite rules are flushed during site creation, see
 [http://core.trac.wordpress.org/browser/trunk/wp-
 admin/includes/upgrade.php?rev=20000#L291 wp_install_defaults()].

 The problem is that categories, tags and formats have already been
 registered with the "/blog/" prefix because they were registered during
 the init of the main site. So, when the rewrite rules are generated they
 have a different structure to the rest of the rules. I suspect that you
 encounter the same problem for any custom taxonomies/post types which
 register with_front as true.

 In 3.1 it was only formats that had the problem. with_front => true was
 introduced for categories and tags in 3.1.1.

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


More information about the wp-trac mailing list