From bd94c770378d03718cac7fa1aa0e3fc4814c63df Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Mon, 9 Feb 2026 14:20:48 +0530 Subject: [PATCH] fix: prevent buffer flush conflicts --- inc/manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/manager.php b/inc/manager.php index b6d90c0c..a8925a90 100644 --- a/inc/manager.php +++ b/inc/manager.php @@ -407,7 +407,7 @@ public function register_hooks() { ); add_action( 'template_redirect', [ $this, 'register_after_setup' ] ); add_action( 'rest_api_init', [ $this, 'process_template_redirect_content' ], PHP_INT_MIN ); - add_action( 'shutdown', [ $this, 'close_buffer' ] ); + add_action( 'shutdown', [ $this, 'close_buffer' ], PHP_INT_MIN ); foreach ( self::$loaded_compatibilities as $registered_compatibility ) { $registered_compatibility->register(); }