Closed cameronterry closed 2 years ago
The set() and unset() methods in DarkMatter_Primary update the database record for a domain but does not update the update or invalidate the caches used by DarkMatter_Domains, causing a discrepancy in the cache records.
set()
unset()
DarkMatter_Primary
DarkMatter_Domains
Discovered whilst adding the unit tests, which works with multisite through the switch_to_blog() / restore_current_blog() mechanism: https://github.com/cameronterry/dark-matter/pull/88.
The
set()
andunset()
methods inDarkMatter_Primary
update the database record for a domain but does not update the update or invalidate the caches used byDarkMatter_Domains
, causing a discrepancy in the cache records.Discovered whilst adding the unit tests, which works with multisite through the switch_to_blog() / restore_current_blog() mechanism: https://github.com/cameronterry/dark-matter/pull/88.