﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
7237,Multiple clean_post_cache() calls when saving a post due to post revisions,mdawaffe,ryan,"When a post is saved, clean_post_cache() is called for that post.  Immediately afterward, the post revision is inserted and clean_post_cache() is called again for that new post row.

Since the current implementation of post revisions does not allow revision edit, has no taxonomy associated with revisions, has no post meta, and shows up in no archive, we can get away with never calling clean_post_cache() during a post revision insert.

If a plugin does any of those things, it can still call clean_post_cache() from any of a few available API actions.

Attached.

I don't know if this is worth fixing.  I don't know how much of a performance impact this ""bug"" has.",enhancement,closed,lowest,,Revisions,2.6,minor,wontfix,reporter-feedback,erick@… adamsilverstein@…
