Changes between Initial Version and Version 1 of Ticket #26173, comment 3
- Timestamp:
- 11/26/2013 05:30:21 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26173, comment 3
initial v1 8 8 The problem is, that we store all options in one bucket, `$prefix:options:alloptions` which holds an array of every option in existence. 9 9 10 At this point, we've got the old data loaded in the cache (db_version = 1), we update another entry in the array ( `auto_core_update_notified` ) and re-set it in the object cache.10 At this point, we've got the old data loaded in the local cache (db_version = 1), we update another entry in the array ( `auto_core_update_notified` ) and re-set it in the object cache (local & remote). 11 11 So we're overwriting the data in the cache with old data. The solution appears to be simple, call `wp_cache_flush()` after the call to wp-admin/upgrade.php takes place. 12 12