Compatibility with WP functions
-
Currently, the
object-cache.php
doesn’t appear to work with the WP abstraction layer.None of the commands in WP CLI, for example, seems to be functioning.
wp cache type
returns ‘Unknown’ instead of ‘APC’ because the following class isn’t used:// Test for APC object cache (https://www.ads-software.com/extend/plugins/apc/)
} elseif ( class_exists( 'APC_Object_Cache' ) ) {
$message = 'APC';wp_cache_supports()
is missing and so all features test false.wp cache flush
also doesn’t flush any APCu cache.Implementing the functions underlying WP CLI commands can be important because some plugins rely on these functions to purge object cache, and such code as
wp_cache_flush()
will fail if a user happens to be using APCu.Would it be possible for this aspect of the plugin to be improved?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.