Make WordPress Core


Ignore:
Timestamp:
09/30/2026 10:17:53 AM (6 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Adds missing documentation for three parameters in core classes.

Applies to:

  • The $args parameter in WP_HTTP_IXR_Client::query().
  • The $request parameter in WP_REST_Font_Collections_Controller::get_items_permissions_check().
  • The $method parameter in WP_REST_Font_Families_Controller::get_endpoint_args_for_item_schema().

Developed in ​https://github.com/WordPress/wordpress-develop/pull/12823.

Follow-up to r48238, r57548.

Props bejignesh, Soean, mukesh27, SergeyBiryukov.
See #65860.

File:
1 edited

Legend:

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

    r61668 r64014  
    336336         * @since 6.5.0
    337337         *
    338          * @return true|WP_Error True if the request has write access for the item, WP_Error object otherwise.
     338         * @param WP_REST_Request $request Full details about the request.
     339         * @return true|WP_Error True if the request has read access, WP_Error object otherwise.
    339340         */
    340341        public function get_items_permissions_check( $request ) {
Note: See TracChangeset for help on using the changeset viewer.