From 7607cbc5d1e770451f1a2b61d851820dfa23bb43 Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Tue, 18 Mar 2025 20:37:10 +0000 Subject: [PATCH] Coding Standards: Fix alignment in `WP_REST_Widgets_Controller::prepare_item_for_response`. Follow-up to [59899]. See #56481, 62279. git-svn-id: https://develop.svn.wordpress.org/trunk@60044 602fd350-edb4-49c9-b593-d223f7449a82 --- .../rest-api/endpoints/class-wp-rest-widgets-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php index 52a42258ed..a8e7af54e8 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php @@ -682,7 +682,7 @@ class WP_REST_Widgets_Controller extends WP_REST_Controller { ); } - $widget = $wp_registered_widgets[ $widget_id ]; + $widget = $wp_registered_widgets[ $widget_id ]; // Don't prepare the response body for HEAD requests. if ( $request->is_method( 'HEAD' ) ) { /** This filter is documented in wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php */