Make WordPress Core


Ignore:
Timestamp:
07/02/2022 05:44:46 PM (4 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 );
Note: See TracChangeset for help on using the changeset viewer.