[wp-trac] [WordPress Trac] #21020: Use of $walk_dirs for post permastructure is relied upon

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 24 02:01:51 UTC 2012


#21020: Use of $walk_dirs for post permastructure is relied upon
-------------------------------------+--------------------
 Reporter:  taropaa                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.4.1
Component:  Rewrite Rules            |     Version:  3.4
 Severity:  major                    |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------

Comment (by SergeyBiryukov):

 I see some reports that http://example.com/uncategorized/ (without the
 category base) no longer works, which was previously mentioned in #19876
 as a collateral effect.

 Steps to reproduce:
 1. Set permalink structure to `/%category%/%postname%.html`.
 2. Install [http://wordpress.org/extend/plugins/remove-parents/ Remove
 Parents] (outdated, but apparently still used) or similar plugin that
 removes `/category` prefix directly from links, without touching rewrite
 rules.
 3. Visit http://example.com/uncategorized/.

 In 3.3, a category archive is displayed. In 3.4, you get a 404 error.

 Confirmed that [attachment:21020.diff] fixes the issue.

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


More information about the wp-trac mailing list