[wp-trac] [WordPress Trac] #31781: Adding a query parameter that has same name as a CPT returns 404

WordPress Trac noreply at wordpress.org
Thu Sep 3 10:34:09 UTC 2015


#31781: Adding a query parameter that has same name as a CPT returns 404
--------------------------------+------------------------------
 Reporter:  Collizo4sky         |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Rewrite Rules       |     Version:  4.1.1
 Severity:  normal              |  Resolution:
 Keywords:  dev-feedback close  |     Focuses:
--------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  dev-feedback => dev-feedback close


Comment:

 `query_var` can be customized in the post type registration code if
 needed, it should be a unique value that does not clash with other
 parameters.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31781#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list