[wp-trac] [WordPress Trac] #19275: Rewrite endpoints don't work with taxonomies (was: Rewrite endpoints don't work with category archives; added query vars treated as category slugs)

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 18 01:40:18 UTC 2011


#19275: Rewrite endpoints don't work with taxonomies
--------------------------+------------------------------
 Reporter:  sillybean     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Permalinks    |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by nacin):

 The issue is a change in 3.1, which made taxonomies all be handled like
 any other permastruct. This means the endpoints are no longer properly
 checked. Surprised it was missed until now.

 Unlike register_post_type(), register_taxonomy() does not provide a way to
 specify an endpoint. So fixing this also requires an API enhancement.

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


More information about the wp-trac mailing list