[wp-trac] [WordPress Trac] #15914: wp_check_post_hierarchy_for_loops can run alot of queries
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 20 14:17:33 UTC 2010
#15914: wp_check_post_hierarchy_for_loops can run alot of queries
----------------------------+-----------------
Reporter: westi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Administration | Version: 3.1
Severity: normal | Keywords:
----------------------------+-----------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15914>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list