fix: update MU-plugin for Memcached Object Cache support

- Auto-detect: Memcached (class Memcache/Memcached + port 11211),
  Redis (Predis + port 6379), or none
- WP-CLI commands: wp dekart cache-flush, wp dekart cache-memcached
- cache-memcached checks PHP extension before copying drop-in
- Removed Redis-specific constants (handled by redis-cache plugin)
- Handle activation conflict: Memcached drop-in copied manually,
  not via plugin activation (prevents wp_cache_add fatal error)
This commit is contained in:
Dekart Deploy Bot 2026-07-17 16:38:59 +00:00
parent 0966da4243
commit bcf68d671f
1 changed files with 109 additions and 96 deletions