post->ancestors isn't always set
|Reported by:||Denis-de-Bernardy||Owned by:||ryan|
|Severity:||normal||Keywords:||dev-feedback needs-unit-tests early|
|Cc:||westi, maorb, shidouhikari|
when update_post_cache() gets called to cache the results of a query so as to avoid needless db calls to get permalinks, and then get_post() is used, posts can end up without the ancestor variable being set.
Change History (24)
- Cc westi added
- Keywords reporter-feedback needs-unit-tests added; has-patch removed
Note: See TracTickets for help on using tickets.