WordPress.org

Make WordPress Core

Changeset 51105


Ignore:
Timestamp:
06/08/2021 06:11:31 PM (4 months ago)
Author:
youknowriad
Message:

Block Editor: Include the page list block server-side code.

On a previous package update, this block's server-side code has been missed.
This was causing the block to not render properly.

Props Chouby, desrosj, mcsf.
Fixes #53309.

Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/index.php

    r51101 r51105  
    1616require ABSPATH . WPINC . '/blocks/legacy-widget.php';
    1717require ABSPATH . WPINC . '/blocks/loginout.php';
     18require ABSPATH . WPINC . '/blocks/page-list.php';
    1819require ABSPATH . WPINC . '/blocks/post-content.php';
    1920require ABSPATH . WPINC . '/blocks/post-date.php';
  • trunk/tests/phpunit/includes/functions.php

    r51101 r51105  
    311311    remove_action( 'init', 'register_block_core_latest_comments' );
    312312    remove_action( 'init', 'register_block_core_latest_posts' );
     313    remove_action( 'init', 'register_block_core_page_list' );
    313314    remove_action( 'init', 'register_block_core_post_author' );
    314315    remove_action( 'init', 'register_block_core_post_content' );
  • trunk/tools/webpack/packages.js

    r51101 r51105  
    115115        'legacy-widget',
    116116        'loginout',
     117        'page-list',
    117118        'post-content',
    118119        'post-date',
Note: See TracChangeset for help on using the changeset viewer.