i hope its not like that….. it will break loads of links for me. π
I don’t think we’ll be alone on this one!
Seems like function get_category_link was modified and things were left out.
It doesn’t include the $front on line 30 and doesn’t use the category_nicename anymore on line 27 (simply uses cat_name). After changing these lines back to an old version of the function, category permalinks are working again.
I ran the updated upgrade.php in wp-admin and the new category prefix option started working (it’s a new option on the Permalinks admin page), but the wp_list_cats() still returns bogus links.
If I put in “/category” for the category prefix, I get category links like:
http://website/category/CategoryName/
or
http://website/category/parent/ChildCategory/
which do not work right now.
I’m having the same problem as bturner, where the /category in permalinks doesn’t work.
Where do you see the new option? I just made sure I uploaded all of the files from CVS and still I don’t see a new permalink option for categories and I had to fix the code as I explained above.
I get the option on /wp-admin/options-permalink.php, right below where you specify the permalink structure for individual archives.
There’s a long input text box, with this above it:
Enter a path without templates for your categories: FIXME[THIS WORDING MAKES NO SENSE]
At first it didn’t save what I put in the box, until I ran upgrade.php (which I noticed had been updated when I grabbed the latest from cvs). I guess that updated the db with a place to store the new setting.
However, that does update the category links, but they still don’t work correctly.
Anonymous
Is this fixed in today’s nightly build? :/
Waiting for it to come across the CVS (don’t want to mess with a full dl) but will let you know as soon as it does.
Fixed. Should be available soon.
I must have been blind or something!! The only problem with them now (and I just upgraded to the latest CVS) is that category_nicename should be used on line 27 instead of cat_name, because cat_name, allows upper case letters and such and doesn’t work. I made the one change in the function and it works great now!