diff --git a/backport-changelog/6.7/7179.md b/backport-changelog/6.7/7179.md index a6e9cc4efe2cd0..d777eace2cb05e 100644 --- a/backport-changelog/6.7/7179.md +++ b/backport-changelog/6.7/7179.md @@ -2,3 +2,4 @@ https://github.com/WordPress/wordpress-develop/pull/7179 * https://github.com/WordPress/gutenberg/pull/64401 * https://github.com/WordPress/gutenberg/pull/64459 +* https://github.com/WordPress/gutenberg/pull/64477 diff --git a/lib/compat/wordpress-6.7/rest-api.php b/lib/compat/wordpress-6.7/rest-api.php index 2520a06fbb18be..081c22c8102914 100644 --- a/lib/compat/wordpress-6.7/rest-api.php +++ b/lib/compat/wordpress-6.7/rest-api.php @@ -39,7 +39,7 @@ function gutenberg_block_editor_preload_paths_6_7( $paths, $context ) { true ); - if ( false !== $parts_key ) { + if ( false !== $reusable_blocks_key ) { unset( $paths[ $reusable_blocks_key ] ); } }