From f9af91cfa550fe94b60160e6ed44f7d8cad2b183 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 8 Aug 2024 02:25:32 +0000 Subject: [PATCH] Docs: Correct alignment for `rest_insert_attachment` action DocBlock. Follow-up to [39348]. Props krupalpanchal. See #61608. git-svn-id: https://develop.svn.wordpress.org/trunk@58865 602fd350-edb4-49c9-b593-d223f7449a82 --- .../endpoints/class-wp-rest-attachments-controller.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php index aa73286102276..0c98a729e43f9 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php @@ -339,8 +339,7 @@ protected function insert_attachment( $request ) { * * @since 4.7.0 * - * @param WP_Post $attachment Inserted or updated attachment - * object. + * @param WP_Post $attachment Inserted or updated attachment object. * @param WP_REST_Request $request The request sent to the API. * @param bool $creating True when creating an attachment, false when updating. */