[Automattic/Edit-Flow] 10bd70: Clean the post cache after using `$wpdb->update()`

1 view
Skip to first unread message

GitHub

unread,
Dec 31, 2013, 1:03:38 PM12/31/13
to edit...@googlegroups.com
Branch: refs/heads/fix-calendar-post-date-225
Home: https://github.com/Automattic/Edit-Flow
Commit: 10bd7021af35bf7ac2b42b208850eef31269eda9
https://github.com/Automattic/Edit-Flow/commit/10bd7021af35bf7ac2b42b208850eef31269eda9
Author: Daniel Bachhuber <d...@danielbachhuber.com>
Date: 2013-12-31 (Tue, 31 Dec 2013)

Changed paths:
M modules/calendar/calendar.php

Log Message:
-----------
Clean the post cache after using `$wpdb->update()`

On setups with a persistent object cache, the post cache needs to be cleared upon data alteration. Otherwise, future requests / transformations could use stale cache data.


Reply all
Reply to author
Forward
0 new messages