Make WordPress Core


Ignore:
Timestamp:
11/12/2019 10:40:29 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Correct some invalid hook docblocks.

See #48303

File:
1 edited

Legend:

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

    r46586 r46729  
    432432         * @since 4.7.0
    433433         *
    434          * @param (mixed) $result The revision object (if it was deleted or moved to the trash successfully)
    435          *                        or false (failure). If the revision was moved to the trash, $result represents
    436          *                        its new state; if it was deleted, $result represents its state before deletion.
     434         * @param WP_Post|false|null $result The revision object (if it was deleted or moved to the trash successfully)
     435         *                                   or false or null (failure). If the revision was moved to the trash, $result represents
     436         *                                   its new state; if it was deleted, $result represents its state before deletion.
    437437         * @param WP_REST_Request $request The request sent to the API.
    438438         */
Note: See TracChangeset for help on using the changeset viewer.