Changes between Initial Version and Version 7 of Ticket #20177
- Timestamp:
- 09/11/2012 11:14:28 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20177
- Property Keywords has-patch added
- Property Milestone Awaiting Review → 3.5
- Property Version → 1.5
-
Ticket #20177 – Description
initial v7 5 5 Since pages don't have taxonomies (at least not in a default setup), we're simply wasting a query. But even if they ''did'' have, we wouldn't even be caching the right ones (unless of course pages were assigned the same taxes as posts). 6 6 7 I would say there's two options here; review {{{WP_Query::get_posts()}}} to ensure the local variable {{{$post_type}}} is set correctly, or simply pass the string {{{ any}}} to {{{update_post_caches()}}} (which will then correctly determine the post type(s)) - thoughts?7 I would say there's two options here; review {{{WP_Query::get_posts()}}} to ensure the local variable {{{$post_type}}} is set correctly, or simply pass the string {{{'any'}}} to {{{update_post_caches()}}} (which will then correctly determine the post type(s)) - thoughts? 8 8 9 9