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

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 11 16:18:35 UTC 2010


#15165: MS recursive lookup bug
-------------------------+--------------------------------------------------
 Reporter:  M_Olivier    |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Multisite    |     Version:  3.0.1          
 Severity:  major        |    Keywords:                 
-------------------------+--------------------------------------------------
Changes (by nacin):

  * type:  defect (bug) => enhancement


Old 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

New 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

--

Comment:

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

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


More information about the wp-trac mailing list