Make WordPress Core


Ignore:
Timestamp:
08/08/2024 02:25:32 AM (2 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct alignment for rest_insert_attachment action DocBlock.

Follow-up to [39348].

Props krupalpanchal.
See #61608.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php

    r58849 r58865  
    340340         * @since 4.7.0
    341341         *
    342          * @param WP_Post         $attachment Inserted or updated attachment
    343          *                                    object.
     342         * @param WP_Post         $attachment Inserted or updated attachment object.
    344343         * @param WP_REST_Request $request    The request sent to the API.
    345344         * @param bool            $creating   True when creating an attachment, false when updating.
Note: See TracChangeset for help on using the changeset viewer.