| @@ -321,9 +321,12 @@ | ||
| 321 | 321 | foreach ( self::collections() as $collection ) { |
| 322 | 322 | delete_option( self::LEGACY_PROACTIVE_OPTION_PREFIX . $collection ); |
| 323 | 323 | } |
| 324 | 324 | |
| 325 | - update_option( self::CLEANUP_VERSION_OPTION, self::CLEANUP_VERSION, false ); | |
| 325 | + // Autoloaded: the Init constructor reads this latch on every request. | |
| 326 | + // Existing rows from older releases are flipped by | |
| 327 | + // Activator::autoload_request_latches() on upgrade. | |
| 328 | + update_option( self::CLEANUP_VERSION_OPTION, self::CLEANUP_VERSION, true ); | |
| 326 | 329 | } |
| 327 | 330 | |
| 328 | 331 | /** Collections whose served representation depends on the barcode setting. */ |
| 329 | 332 | /** |