Skip to content

Commit bd94c77

Browse files
fix: prevent buffer flush conflicts
1 parent 4a803da commit bd94c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public function register_hooks() {
407407
);
408408
add_action( 'template_redirect', [ $this, 'register_after_setup' ] );
409409
add_action( 'rest_api_init', [ $this, 'process_template_redirect_content' ], PHP_INT_MIN );
410-
add_action( 'shutdown', [ $this, 'close_buffer' ] );
410+
add_action( 'shutdown', [ $this, 'close_buffer' ], PHP_INT_MIN );
411411
foreach ( self::$loaded_compatibilities as $registered_compatibility ) {
412412
$registered_compatibility->register();
413413
}

0 commit comments

Comments
 (0)