[wp-trac] Re: [WordPress Trac] #9269: Proper handling of custom taxonomy in query

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 3 23:06:47 GMT 2009


#9269: Proper handling of custom taxonomy in query
--------------------------+-------------------------------------------------
 Reporter:  dfellars1     |       Owner:  ryan                      
     Type:  defect (bug)  |      Status:  new                       
 Priority:  normal        |   Milestone:  Unassigned                
Component:  Permalinks    |     Version:  2.7.1                     
 Severity:  normal        |    Keywords:  taxonomy wp_queried_object
--------------------------+-------------------------------------------------

Comment(by dfellars1):

 let me backtrack a bit :)

 By default I meant that it allows you to add the rewrite rules by default
 to make taxonomies public.  Im not proposing to make that association by
 default in core - I want to leave that piece as is.  By using the custom
 taxonomies plugin, it properly creates the rewrite rules for me and I
 agree that that should be done at the plugin level and not added to core.
 I apologize for confusion.

 What I am saying, is that once the association has been made by the plugin
 and the rewrite rule has been added, I want it to work properly. And I
 don't believe it is under the scenario when there are no posts associated
 with a term/taxonomy.  I believe if we are adding the association to the
 rewrite rules to tell it to properly deal with my taxonomies, that I
 should be able to display a custom taxonomy page when listing an empty
 taxonomy archive page - instead of getting a 404.

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


More information about the wp-trac mailing list