Skip to content

Commit c111125

Browse files
committed
Fix order of abilities routes registration
1 parent fe5874d commit c111125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/rest-api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,10 +418,10 @@ function create_initial_rest_routes() {
418418
$font_collections_controller->register_routes();
419419

420420
// Abilities.
421-
$abilities_list_controller = new WP_REST_Abilities_List_Controller();
422-
$abilities_list_controller->register_routes();
423421
$abilities_run_controller = new WP_REST_Abilities_Run_Controller();
424422
$abilities_run_controller->register_routes();
423+
$abilities_list_controller = new WP_REST_Abilities_List_Controller();
424+
$abilities_list_controller->register_routes();
425425
}
426426

427427
/**

0 commit comments

Comments
 (0)