Skip to content

Commit

Permalink
Edit Post: Fix user pattern preloading filter (#64477)
Browse files Browse the repository at this point in the history
* Edit Post: Fix user pattern preloading filter

* Backport changelog

Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
  • Loading branch information
3 people authored Aug 13, 2024
1 parent cedbe11 commit b3ce94e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions backport-changelog/6.7/7179.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.7/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] );
}
}
Expand Down

0 comments on commit b3ce94e

Please sign in to comment.