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/src/wp-includes/blocks/index.php

    r53157 r53212  
    2222require ABSPATH . WPINC . '/blocks/comments-pagination-previous.php';
    2323require ABSPATH . WPINC . '/blocks/comments-pagination.php';
     24require ABSPATH . WPINC . '/blocks/cover.php';
    2425require ABSPATH . WPINC . '/blocks/file.php';
    2526require ABSPATH . WPINC . '/blocks/gallery.php';
     
    8081        'column',
    8182        'columns',
    82         'cover',
    8383        'embed',
    8484        'freeform',
Note: See TracChangeset for help on using the changeset viewer.