[wp-trac] [WordPress Trac] #15165: MS recursive lookup bug

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 20 12:16:25 UTC 2010


#15165: MS recursive lookup bug
--------------------------+-------------------------------------------------
 Reporter:  M_Olivier     |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 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

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15165>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list