{"push_id":1240322154,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"0bbd0f3a5f756076787a00a4aa00123fcaaffc4f","before":"b12c1a8ad2f7ccff5167da2fde1a950f68514173","commits":[{"sha":"0bbd0f3a5f756076787a00a4aa00123fcaaffc4f","author":{"name":"Boone Gorges","email":"c25705b3ed51049773aa1f98c3bebf0e45fe8735@git.wordpress.org"},"message":"Improve category check in `redirect_canonical()` when permastruct contains category slug.\n\n[37262] changed a check in `redirect_canonical()` so that it checked\ncategories in the object cache rather than querying the database. However,\nthe check was based on the identity of `WP_Term` objects, which in\ncertain cases can be augmented by the main WP query routine, causing\nfailures of the `in_array()` check. This caused unnecessary redirects\nfor URLs where `is_single()` is true, but the URL is different from the\npost permalink, such as the `embed` endpoint.\n\n`has_term()` also checks the cache, but does not sufer from this bug.\n\nProps cmillerdev.\nFixes #36602.\n\ngit-svn-id: https://develop.svn.wordpress.org/trunk@38216 602fd350-edb4-49c9-b593-d223f7449a82","distinct":true,"url":"https://api.github.com/repos/xwp/wordpress-develop/commits/0bbd0f3a5f756076787a00a4aa00123fcaaffc4f"}]}
{"actor":{"display_login":"westonruter"}}