Skip to content

Commit

Permalink
Remove client-side IS_GUTENBERG_PLUGIN check that prevents registrati…
Browse files Browse the repository at this point in the history
…on of pattern overrides source (WordPress#62011)

Co-authored-by: talldan <[email protected]>
Co-authored-by: SantosGuillamot <[email protected]>
  • Loading branch information
3 people authored and patil-vipul committed Jun 17, 2024
1 parent 1579e18 commit d288da8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/editor/src/bindings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ import postMeta from './post-meta';

const { registerBlockBindingsSource } = unlock( dispatch( blocksStore ) );
registerBlockBindingsSource( postMeta );

if ( globalThis.IS_GUTENBERG_PLUGIN ) {
registerBlockBindingsSource( patternOverrides );
}
registerBlockBindingsSource( patternOverrides );

0 comments on commit d288da8

Please sign in to comment.