Update Revision and object cache
-
Hello,
We use Revisionary (thanks!) and noticed that when an Admin tried to edit a revision a Revisor submitted, and clicked the “Update Revision” button, the content wouldn’t update. We also use the APC object-cache drop in.
It looks like function rvy_revision_edit doesn’t invalidate the cache after directly updating the database. Adding
clean_post_cache( $revision_id );after the$wpdb->updatecall fixed the issue.-James
The topic ‘Update Revision and object cache’ is closed to new replies.