Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#23213 closed feature request (duplicate)

Registering a reserved taxonomy breaks permalinks in an awkward way

Reported by: Ahrengot Owned by:
Priority: normal Milestone:
Component: Taxonomy Version: 3.5
Severity: normal Keywords:
Cc: Focuses:

Description

This is my first submission via track, so if I'm screwing things up, please let me know.

It seems that permalinks break in a really awkward way after you register a taxonomy using one of the 50+ reserved terms: ​http://codex.wordpress.org/Function_Reference/register_taxonomy#Reserved_Terms

For instance, I registered a taxonomy with the name year. After that, using the domain.com/%postname%/ permalink structure, all links returned the home page, except for 2nd level pages. For instance domain.com/page/subpage. Removing the year taxonomy and regenerating the .htaccess file fixed the issue.

As there are 50+ reserved taxonomy terms, I feel it's pretty easy to make this mistake. I propose an error or notice of sort if you try to register a reserved taxonomy term.

Change History (4)

#1 @Ahrengot
14 years ago

#23214 was marked as a duplicate.

#2 @helen
14 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

I pointed you to #12929 as a duplicate in IRC - not sure why you opened this.

#3 @Ahrengot
14 years ago

Sorry about that, I didn't see any replies in IRC and my search here on trac returned nothing. Still learning :)

#4 @SergeyBiryukov
14 years ago

  • Keywords needs-patch removed
Note: See TracTickets for help on using tickets.