Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13076 closed defect (bug) (fixed)

WP Class incorrectly checks against custom taxonomy and post_type names instead of query_var

Reported by: prettyboymp Owned by:
Priority: high Milestone:
Component: Post Types Version: 3.0
Severity: normal Keywords: has-patch
Cc:

Description

WP Class incorrectly checks against custom taxonomy and post_type names instead of query_var. This is causing sites that have a post_type and taxonomy with the same name to conflict.

Attachments (1)

13076.patch (823 bytes) - added by prettyboymp 3 years ago.

Download all attachments as: .zip

Change History (5)

  • Component changed from General to Post Types
  • Milestone changed from Unassigned to 3.0

I can confirm that I've been bitten by this bug.

comment:2   dd323 years ago

Duplicate of #12857

  • Milestone 3.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

comment:4   ryan3 years ago

  • Resolution changed from duplicate to fixed

(In [14246]) Fix custom tax and post type query var checks. Props prettyboymp. fixes #12857 #13076

Note: See TracTickets for help on using tickets.