Skip to content

Commit

Permalink
PLANET-7656 Prepare for WordPress 6.7 upgrade
Browse files Browse the repository at this point in the history
The core Posts List variation of the Query Loop block has been removed so we don't need to unregister it anymore
  • Loading branch information
mleray committed Dec 16, 2024
1 parent 40a6526 commit b1f0577
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions assets/src/editorIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import {registerBlockVariations} from './block-variations';
import {registerActionButtonTextBlock} from './blocks/ActionCustomButtonText';

wp.domReady(() => {
// Make sure to unregister the posts-list native variation before registering planet4-blocks/posts-list
wp.blocks.unregisterBlockVariation('core/query', 'posts-list');

// Blocks
registerTableOfContentsBlock();
registerColumnsBlock();
Expand Down

0 comments on commit b1f0577

Please sign in to comment.