Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#56131 closed enhancement (fixed)

Alphabetize block lists in various places

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.1 Priority: normal
Severity: trivial Version:
Component: Editor Keywords:
Focuses: Cc:

Description

The block lists in these three places are the same, but the order is a bit different:

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

I think alphabetizing these lists in a consistent manner would make future additions easier.

Change History (1)

#1 @SergeyBiryukov
3 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 53633:

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.

Note: See TracTickets for help on using tickets.