Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#35418 new defect (bug)

Assigned post type not appeared in category and tag archive

Reported by: jim912's profile jim912 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4.1
Component: Query Keywords: reporter-feedback
Focuses: Cc:

Description

In case of custom post type assign to category or tag(like use register_taxonomy_for_object_type), this post type not appeared in category and tag archive.

Attachments (2)

35418.diff (107 bytes) - added by jim912 9 years ago.
modified query.php diff
35418-2.3.patch (496 bytes) - added by jim912 8 years ago.

Download all attachments as: .zip

Change History (4)

@jim912
9 years ago

modified query.php diff

#1 @boonebgorges
9 years ago

  • Keywords reporter-feedback added

@jim912 Can you provide more details on how to reproduce? Also, it looks like your patch was incorrectly generated.

#2 @jim912
8 years ago

  1. register_post_type( 'some' ) and "taxonomies" args include 'category' or 'post_tag'. public args set as true.
  2. access to category or tag archive.
  3. Any 'some' post_type post doesn't appeared in archives.

@jim912
8 years ago

Note: See TracTickets for help on using tickets.