Skip to content
Commit 63fbae69 authored by Jon Cave's avatar Jon Cave
Browse files

Accept a post object in clean_post_cache(). Fixes #20486.

The post_type can then be accessed to properly clean the taxonomy relationships cache.
The full object is useful in situations when an ID might reference a post that has been
removed from the database (e.g. wp_delete_post()).


git-svn-id: https://core.svn.wordpress.org/trunk@20569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 27298943
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment