diff --git a/src/wp-includes/cache.php b/src/wp-includes/cache.php index 5b9259481a90b..791709658952d 100644 --- a/src/wp-includes/cache.php +++ b/src/wp-includes/cache.php @@ -8,6 +8,11 @@ * @subpackage Cache */ +// Don't load directly. +if ( ! defined( 'ABSPATH' ) ) { + die( '-1' ); +} + /** WP_Object_Cache class */ require_once ABSPATH . WPINC . '/class-wp-object-cache.php';