WordPress.org

Make WordPress Core

Changeset 46729


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

Docs: Correct some invalid hook docblocks.

See #48303

Location:
trunk/src/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-text-diff-renderer-table.php

    r45729 r46729  
    169169                 * @since 4.1.0
    170170                 *
    171                  * @param String $processed_line The processed diffed line.
    172                  * @param String $line           The unprocessed diffed line.
    173                  * @param string null            The line context. Values are 'added', 'deleted' or 'unchanged'.
     171                 * @param string $processed_line The processed diffed line.
     172                 * @param string $line           The unprocessed diffed line.
     173                 * @param string $context        The line context. Values are 'added', 'deleted' or 'unchanged'.
    174174                 */
    175175                $line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'added' );
  • trunk/src/wp-includes/rest-api/class-wp-rest-server.php

    r46696 r46729  
    130130         * @since 4.4.0
    131131         *
    132          * @param WP_Error|null|true WP_Error if authentication error, null if authentication
    133          *                              method wasn't used, true if authentication succeeded.
     132         * @param WP_Error|null|true $errors WP_Error if authentication error, null if authentication
     133         *                                   method wasn't used, true if authentication succeeded.
    134134         */
    135135        return apply_filters( 'rest_authentication_errors', null );
  • 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.