We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e44e4b2 commit 01d5a8aCopy full SHA for 01d5a8a
core/ToolKit.php
@@ -9,7 +9,7 @@
9
class ToolKit {
10
11
protected static $config;
12
- public static $textdomain;
+ protected static $cache;
13
14
protected function init( $base_dir = null, $args = null ) {
15
@@ -36,6 +36,9 @@ protected function init( $base_dir = null, $args = null ) {
36
37
self::$config = $config;
38
39
+ // Initialize ObjectCache
40
+ self::$cache = new ObjectCache( $config );
41
+
42
// Load Environmental Variables
43
$this->load_env_vars( [ $base_dir, self::$config->get( 'wordpress/root_dir' ) ] );
44
0 commit comments