WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#15165 closed enhancement

MS recursive lookup bug — at Initial Version

Reported by: M_Olivier Owned by:
Milestone: Priority: normal
Severity: major Version: 3.0.1
Component: Multisite Keywords:
Focuses: Cc:

Description

Hi,

After upgrading a project from WPMU to WP 3.0.1 I've stumbled upon a small bug in /wp-includes/ms-install.php

The case where it goes wrong:

I have 3 different blogs, each of which has its own theme assigned:
Blog: Theme:
/ themename
/test themename-test
/test/test2 themename-test-test2

When I navigate to http://wordpressurl/test/test2, WordPress displays the 'themename-test' theme's 404 page.

Expected behaviour: WordPress displays the correct page within the 'themename-test-test2' theme

I've attached a diff file with a fix

Change History (1)

M_Olivier3 years ago

Note: See TracTickets for help on using tickets.