{"push_id":1141126768,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"1f5147bf834871466e5f86f5c02baa3c10934adc","before":"230f2986fb744a9d0dcaa09a448f9982b26322d6","commits":[{"sha":"1f5147bf834871466e5f86f5c02baa3c10934adc","author":{"name":"Boone Gorges","email":"c25705b3ed51049773aa1f98c3bebf0e45fe8735@git.wordpress.org"},"message":"Comments: Improve caching for hierarchical queries.\n\nHierarchical comment queries work by first fetching the IDs of top-level\ncomments, and then filling the descendant tree one level at a time based on the\ntop-level results. When top-level comment IDs are found in the cache,\n`WP_Comment_Query` does not generate the SQL used to fetch these comments. In\nthis case, the `fill_descendants()` query does not have enough information\nto fill children. As a result, descendant comments were failing to be filled\nin cases where the top-level comments were found in the cache.\n\nThis was a minor bug previously, because comment caches were not maintained\nbetween pageloads. Since comment caches are now persistent [37613], the problem\nbecomes evident anywhere that a persistent object cache is in use.\n\nThe solution is to cache parent-child relationships, so that when top-level\ncomments are found in the cache, descendant comments should be found there as\nwell.\n\nFixes #36487.\n\ngit-svn-id: https://develop.svn.wordpress.org/trunk@37625 602fd350-edb4-49c9-b593-d223f7449a82","distinct":true,"url":"https://api.github.com/repos/frozzare/wordpress-develop/commits/1f5147bf834871466e5f86f5c02baa3c10934adc"}]}
{"actor":{"display_login":"frozzare"}}