1 | diff --git a/src/wp-admin/edit-form-blocks.php b/src/wp-admin/edit-form-blocks.php |
---|
2 | index 4e104feda2..c1c37487ef 100644 |
---|
3 | --- a/src/wp-admin/edit-form-blocks.php |
---|
4 | +++ b/src/wp-admin/edit-form-blocks.php |
---|
5 | @@ -69,7 +69,7 @@ $preload_paths = apply_filters( 'block_editor_preload_paths', $preload_paths, $p |
---|
6 | * Because API preloading can call the_content and other filters, plugins |
---|
7 | * can unexpectedly modify $post. |
---|
8 | */ |
---|
9 | -$backup_global_post = $post; |
---|
10 | +$backup_global_post = clone $post; |
---|
11 | |
---|
12 | $preload_data = array_reduce( |
---|
13 | $preload_paths, |
---|