wp-memcached icon indicating copy to clipboard operation
wp-memcached copied to clipboard

Guard the call to apply_filters() incase it's unavailable

Open dd32 opened this issue 1 year ago • 0 comments

On WordPress.org we use the object cache in places that sometimes operate with a minimal environment, and may not have apply_filters() loaded.

While this is a minimal change, and loading plugin.php for those environments might be ideal instead, the rest of the class appears to have minimal other dependencies.

dd32 avatar Aug 22 '23 06:08 dd32