shkola/wp-content/mu-plugins/object-cache-bootstrap.php
Dekart Deploy Bot d6286c0b5c fix: disable all cache logic in MU-plugin (cross-site data leakage)
- Removed: cache backend detection, versioned keys, auto-invalidation,
  admin notices, WP_CLI commands, salt_keys re-salt
- Kept only WP_REDIS_HOST/WP_REDIS_PORT constants (harmless)
- Cache fully disabled until root cause found
2026-07-17 19:40:06 +00:00

18 lines
480 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* MU-Plugin: Object Cache Bootstrap
*
* Кеширование полностью отключено — все функции закомментированы.
* Проблема с перекрёстными данными между сайтами на проде.
*
* @package Dekart
* @version 2.3
*/
if ( ! defined( 'WP_REDIS_HOST' ) ) {
define( 'WP_REDIS_HOST', '127.0.0.1' );
}
if ( ! defined( 'WP_REDIS_PORT' ) ) {
define( 'WP_REDIS_PORT', 6379 );
}