Make WordPress Core


Ignore:
Timestamp:
01/10/2021 10:21:39 PM (4 years ago)
Author:
johnbillion
Message:

REST API: Corrections and improvements to docblocks for REST API filters.

See #51800

File:
1 edited

Legend:

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

    r49927 r49955  
    340340     * Retrieves the parameter priority order.
    341341     *
    342      * Used when checking parameters in get_param().
     342     * Used when checking parameters in WP_REST_Request::get_param().
    343343     *
    344344     * @since 4.4.0
     
    372372
    373373        /**
    374          * Filters the parameter order.
     374         * Filters the parameter priority order for a REST API request.
    375375         *
    376          * The order affects which parameters are checked when using get_param() and family.
    377          * This acts similarly to PHP's `request_order` setting.
     376         * The order affects which parameters are checked when using WP_REST_Request::get_param()
     377         * and family. This acts similarly to PHP's `request_order` setting.
    378378         *
    379379         * @since 4.4.0
     
    10361036
    10371037        /**
    1038          * Filters the request generated from a URL.
     1038         * Filters the REST API request generated from a URL.
    10391039         *
    10401040         * @since 4.5.0
Note: See TracChangeset for help on using the changeset viewer.