Make WordPress Core


Ignore:
Timestamp:
04/19/2022 11:35:50 AM (3 years ago)
Author:
gziolo
Message:

Editor: Correctly register the dynamic Cover block

The new "Featured Image" enhancement is handled dynamically, so we need to update how the Cover block is handled in the build processa and registered in the code.

Props ironprogrammer, costdev, Mamaduka, chaion07.
Fixes #55580.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/functions.php

    r53157 r53212  
    318318    remove_action( 'init', 'register_block_core_comments_pagination_numbers' );
    319319    remove_action( 'init', 'register_block_core_comments_pagination_previous' );
     320    remove_action( 'init', 'register_block_core_cover' );
    320321    remove_action( 'init', 'register_block_core_file' );
    321322    remove_action( 'init', 'register_block_core_gallery' );
Note: See TracChangeset for help on using the changeset viewer.