Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26173, comment 3


Ignore:
Timestamp:
11/26/2013 05:30:21 AM (11 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26173, comment 3

    initial v1  
    88The problem is, that we store all options in one bucket, `$prefix:options:alloptions` which holds an array of every option in existence.
    99
    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.
     10At 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).
    1111So 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.
    1212