WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 4 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)

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

@M_Olivier4 years ago

comment:1 @M_Olivier4 years ago

  • Version set to 3.0.1

comment:2 @M_Olivier4 years ago

  • Cc M_Olivier added
  • Component changed from General to Multisite

comment:3 @M_Olivier4 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?

Thanks

@M_Olivier4 years ago

New fix

comment:4 @M_Olivier4 years ago

So, ehm, like, hello?

comment:5 @nacin4 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.