Skip to content

Commit 804b431

Browse files
committed
Fix ob_end/ob_get error
1 parent 3bef1bb commit 804b431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/block-editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ function _wp_get_iframed_editor_assets() {
374374

375375
ob_start();
376376
do_action( 'wp_print_iframe_html' );
377-
$html = ob_end_clean();
377+
$html = ob_get_clean();
378378

379379
if ( $has_emoji_styles ) {
380380
add_action( 'wp_print_styles', 'print_emoji_styles' );

0 commit comments

Comments
 (0)