Lazy load ancestors
|Reported by:||nacin||Owned by:|
It should be pretty easy to lazy load ancestors using a magic get function on 'ancestors', rather than querying for them individually via _get_post_ancestors().
johnjamesjacoby presented a use case where get_post_field() was triggering ancestors queries, with no way to avoid that if you know you need that information. Not sure how to solve that specific problem without thinking bigger.
Change History (42)
comment:14 scribu — 21 months ago
- Keywords 3.3-early removed
- Milestone changed from Future Release to 3.4
comment:20 follow-up: ↓ 23 scribu — 21 months ago
comment:23 in reply to: ↑ 20 johnjamesjacoby — 21 months ago
comment:24 in reply to: ↑ 22 johnjamesjacoby — 21 months ago
comment:28 in reply to: ↑ 26 braydonf — 21 months ago
comment:33 scribu — 17 months ago
- Milestone Future Release deleted
- Resolution set to duplicate
- Status changed from new to closed