WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/05/2019 09:21:46 PM (18 months ago)
Author:
johnbillion
Message:

Docs: Improve documentation of known return types, plus other docs fixes.

See #48303

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/class-wp-rest-request.php

    r46654 r46660  
    331331     * @since 4.4.0
    332332     *
    333      * @return array List of types to check, in order of priority.
     333     * @return string[] Array of types to check, in order of priority.
    334334     */
    335335    protected function get_parameter_order() {
     
    367367         * @since 4.4.0
    368368         *
    369          * @param array           $order {
    370          *    An array of types to check, in order of priority.
    371          *
    372          * @param string $type The type to check.
    373          * }
    374          * @param WP_REST_Request $this The request object.
     369         * @param string[]        $order Array of types to check, in order of priority.
     370         * @param WP_REST_Request $this  The request object.
    375371         */
    376372        return apply_filters( 'rest_request_parameter_order', $order, $this );
Note: See TracChangeset for help on using the changeset viewer.