get_nested_categories() and friends use a lot of DB queries
|Reported by:||mdawaffe||Owned by:||mdawaffe|
|Component:||Administration||Keywords:||db queries cache|
get_nested_categories(), cat_rows(), and wp_dropdown_cats() spend at least one query per category. The attached patch uses the built in caching to eliminate all but one or two queries. I do not know if this proposed method is actually any faster.
Note: these are admin-side only functions, so DB hits aren't as important.
Change History (14)
- Keywords bg|has-patch bg|needs-testing removed
- Milestone changed from 2.3 (trunk) to 2.4 (future)