From 26a0d31a7c84550a5d71c2997374548ce6775bc1 Mon Sep 17 00:00:00 2001 From: andremacola Date: Fri, 26 Jul 2024 21:40:47 -0300 Subject: [PATCH] Update Timber::get_context() --- core/app/Onyx/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app/Onyx/Controller.php b/core/app/Onyx/Controller.php index 48a3070..d83ae80 100644 --- a/core/app/Onyx/Controller.php +++ b/core/app/Onyx/Controller.php @@ -60,7 +60,7 @@ abstract public function initialize(); */ protected function get_timber_context() { add_filter( 'timber/context', [ $this, 'set_global_context' ] ); - $this->context = Timber::get_context(); + $this->context = Timber::context(); } /**