[wp-trac] [WordPress Trac] #16641: custom post has_archive in multisite

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 25 00:27:12 UTC 2011

#16641: custom post has_archive in multisite
 Reporter:  andreamk      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Post Types    |     Version:  3.1
 Severity:  minor         |  Resolution:
 Keywords:                |
Changes (by andreamk):

 * cc: andleo75@… (added)
 * severity:  major => minor


 I found the problem

 has_arcive adds the custom post at wp_query type obj
 this was in conflict with my function because my registration was the same

 So in query_var post_type array was 2 times my custom_post

 I think it's a good idea to add a control to function parse_query to avoid
 this error but is a minor bug.

Ticket URL: <http://core.trac.wordpress.org/ticket/16641#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list