mirror of
git://develop.git.wordpress.org/
synced 2025-03-24 05:49:49 +01:00
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
This commit is contained in:
parent
a96fa164b0
commit
7607cbc5d1
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user