[wp-trac] [WordPress Trac] #35848: WordPress 4.4 Handling Custom Taxonomies and Tax Queries Correctly

WordPress Trac noreply at wordpress.org
Sun Feb 21 21:35:14 UTC 2016


#35848: WordPress 4.4 Handling Custom Taxonomies and Tax Queries Correctly
-------------------------------+------------------------------
 Reporter:  vrazer             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Query              |     Version:  4.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by boonebgorges):

 Aha. Yes, if you were previously registering taxonomies with `'public' =>
 false`, then front-end queries would've stopped working in WP 4.4. See
 #21949. As you note, this is a case where a longtime bug (or, more
 appropriately, "unimplemented feature") was fixed, which may cause
 backward compatibility issues for implementations that use the previously-
 not-working `public` in odd ways. See, for example,
 https://core.trac.wordpress.org/ticket/21949#comment:29 and the follow-up
 comments.

 It may help with your specific implementation to know that WP 4.5 will
 introduce a `publicly_queryable` argument for taxonomies, which will allow
 a taxonomy to be "private" - ie, it'll default to `false` for `show_ui`
 etc - but can still be queryable using the `?taxonomy=term` query var. See
 #34491.

 Please do update this ticket if you are able to discern a pattern between
 the various problems you're having (or if you determine that they're, in
 fact, separate issues).

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


More information about the wp-trac mailing list