Make WordPress Core

Opened 8 years ago

Last modified 7 years ago

#15165 closed enhancement

MS recursive lookup bug — at Version 5

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

Description (last modified by nacin)


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 (7)

#1 @M_Olivier
8 years ago

  • Version set to 3.0.1

#2 @M_Olivier
8 years ago

  • Cc M_Olivier added
  • Component changed from General to Multisite

#3 @M_Olivier
8 years ago

  • Severity changed from normal to major

The other patch had a serious bug, please check out the new patch. Please test and/or improve it and add it to a future release?


8 years ago

New fix

#4 @M_Olivier
8 years ago

So, ehm, like, hello?

#5 @nacin
8 years ago

  • Description modified (diff)
  • Type changed from defect (bug) to enhancement

I wasn't at all aware we supported nested subdirectories.

Note: See TracTickets for help on using tickets.