Skip to content

Commit fcf052b

Browse files
Merge pull request #1021 from Codeinwp/bugfix/1014
Prevent buffer flush conflicts
2 parents 3e99ab8 + bd94c77 commit fcf052b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)