[wp-hackers] Category Hierarchies

Owen Winkler ringmaster at midnightcircus.com
Mon Sep 19 13:52:09 GMT 2005


Create two new categories at root level.  In each of those, create a 
category named "FOO".  Attempt to access the post listing for 
"category2/FOO" and you actually get "category1/FOO".

There are two options for fixing as I see it.   Either the category 
adding code should enforce the creation of unique category slugs OR the 
the rewriter should select a category based on the entire category 
string specified and not just the last subcat in the string.  I prefer 
the latter option, but it requires more complicated changes.

Thoughts?

Owen


More information about the wp-hackers mailing list