Make WordPress Core

Opened 2 years ago

Last modified 21 months ago

#35418 new defect (bug)

Assigned post type not appeared in category and tag archive

Reported by: jim912 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.4.1
Component: Query Keywords: reporter-feedback
Focuses: Cc:


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 2 years ago.
modified query.php diff
35418-2.3.patch (496 bytes) - added by jim912 20 months ago.

Download all attachments as: .zip

Change History (4)

2 years ago

modified query.php diff

#1 @boonebgorges
2 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
21 months 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.

20 months ago

Note: See TracTickets for help on using tickets.