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(); }