From 65fb2d6e8fe1a1d10b3df82ed00d97c9dfc4bca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20Viemer=C3=B6?= Date: Mon, 29 Apr 2024 05:22:20 +0300 Subject: [PATCH] Order list of commands alphabetically (#510) Order commands alphabetically --- .../themes/wporg-developer-2023/src/cli-command-table/block.php | 1 + 1 file changed, 1 insertion(+) diff --git a/source/wp-content/themes/wporg-developer-2023/src/cli-command-table/block.php b/source/wp-content/themes/wporg-developer-2023/src/cli-command-table/block.php index 924e8e929..4560e8616 100644 --- a/source/wp-content/themes/wporg-developer-2023/src/cli-command-table/block.php +++ b/source/wp-content/themes/wporg-developer-2023/src/cli-command-table/block.php @@ -28,6 +28,7 @@ function render() { $posts = get_posts( array( 'post_type' => 'command', + 'orderby' => 'title', 'order' => 'ASC', 'post_parent' => 0, 'nopaging' => true,