Skip to content

Commit 01d5a8a

Browse files
committed
Replaced missing ObjectCache init
1 parent e44e4b2 commit 01d5a8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/ToolKit.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class ToolKit {
1010

1111
protected static $config;
12-
public static $textdomain;
12+
protected static $cache;
1313

1414
protected function init( $base_dir = null, $args = null ) {
1515

@@ -36,6 +36,9 @@ protected function init( $base_dir = null, $args = null ) {
3636

3737
self::$config = $config;
3838

39+
// Initialize ObjectCache
40+
self::$cache = new ObjectCache( $config );
41+
3942
// Load Environmental Variables
4043
$this->load_env_vars( [ $base_dir, self::$config->get( 'wordpress/root_dir' ) ] );
4144

0 commit comments

Comments
 (0)