wp_check_post_hierarchy_for_loops can run alot of queries
|Reported by:||westi||Owned by:|
If you have a post with alot of revisions and you save a new revision we will scan through all the revisions checking them out even though they are not really hierarchical.
This means that the revision save doesn't work as the page times out while still running all the queries.
We could probably either do some caching with a better call to get_posts first or not run this code for revisions.
Change History (8)
- Milestone 3.1 deleted
- Resolution set to invalid
- Status changed from new to closed