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.
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.