Make WordPress Core

Changeset 53633


Ignore:
Timestamp:
07/02/2022 05:44:46 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Editor: Alphabetize block lists in various places.

This affects:

  • wp-includes/blocks/index.php
  • tools/webpack/blocks.js
  • _unhook_block_registration() in tests/phpunit/includes/functions.php

Follow-up to [47250], [52069], [52730], [53157], [53278].

Fixes #56131.

Location:
trunk
Files:
3 edited

Legend:

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

    r53631 r53633  
    1818require ABSPATH . WPINC . '/blocks/comment-reply-link.php';
    1919require ABSPATH . WPINC . '/blocks/comment-template.php';
     20require ABSPATH . WPINC . '/blocks/comments-pagination.php';
    2021require ABSPATH . WPINC . '/blocks/comments-pagination-next.php';
    2122require ABSPATH . WPINC . '/blocks/comments-pagination-numbers.php';
    2223require ABSPATH . WPINC . '/blocks/comments-pagination-previous.php';
    23 require ABSPATH . WPINC . '/blocks/comments-pagination.php';
    2424require ABSPATH . WPINC . '/blocks/comments-title.php';
    2525require ABSPATH . WPINC . '/blocks/cover.php';
     
    3232require ABSPATH . WPINC . '/blocks/legacy-widget.php';
    3333require ABSPATH . WPINC . '/blocks/loginout.php';
     34require ABSPATH . WPINC . '/blocks/navigation.php';
    3435require ABSPATH . WPINC . '/blocks/navigation-link.php';
    3536require ABSPATH . WPINC . '/blocks/navigation-submenu.php';
    36 require ABSPATH . WPINC . '/blocks/navigation.php';
    3737require ABSPATH . WPINC . '/blocks/page-list.php';
    3838require ABSPATH . WPINC . '/blocks/pattern.php';
     39require ABSPATH . WPINC . '/blocks/post-author.php';
    3940require ABSPATH . WPINC . '/blocks/post-author-biography.php';
    40 require ABSPATH . WPINC . '/blocks/post-author.php';
    4141require ABSPATH . WPINC . '/blocks/post-comments.php';
    4242require ABSPATH . WPINC . '/blocks/post-comments-form.php';
     
    4949require ABSPATH . WPINC . '/blocks/post-terms.php';
    5050require ABSPATH . WPINC . '/blocks/post-title.php';
     51require ABSPATH . WPINC . '/blocks/query.php';
    5152require ABSPATH . WPINC . '/blocks/query-no-results.php';
     53require ABSPATH . WPINC . '/blocks/query-pagination.php';
    5254require ABSPATH . WPINC . '/blocks/query-pagination-next.php';
    5355require ABSPATH . WPINC . '/blocks/query-pagination-numbers.php';
    5456require ABSPATH . WPINC . '/blocks/query-pagination-previous.php';
    55 require ABSPATH . WPINC . '/blocks/query-pagination.php';
    5657require ABSPATH . WPINC . '/blocks/query-title.php';
    57 require ABSPATH . WPINC . '/blocks/query.php';
    5858require ABSPATH . WPINC . '/blocks/read-more.php';
    5959require ABSPATH . WPINC . '/blocks/rss.php';
  • trunk/tests/phpunit/includes/functions.php

    r53278 r53633  
    360360    remove_action( 'init', 'register_block_core_site_title' );
    361361    remove_action( 'init', 'register_block_core_social_link' );
    362     remove_action( 'init', 'register_block_core_social_link' );
    363362    remove_action( 'init', 'register_block_core_tag_cloud' );
    364363    remove_action( 'init', 'register_block_core_template_part' );
    365364    remove_action( 'init', 'register_block_core_term_description' );
     365    remove_action( 'init', 'register_block_core_widget_group' );
    366366    remove_action( 'init', 'register_core_block_types_from_metadata' );
    367     remove_action( 'init', 'register_block_core_widget_group' );
    368367}
    369368tests_add_filter( 'init', '_unhook_block_registration', 1000 );
  • trunk/tools/webpack/blocks.js

    r53278 r53633  
    3535        'comment-template',
    3636        'comments-pagination',
    37         'comments-title',
    3837        'comments-pagination-next',
    3938        'comments-pagination-numbers',
    4039        'comments-pagination-previous',
     40        'comments-title',
    4141        'cover',
    4242        'file',
Note: See TracChangeset for help on using the changeset viewer.