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/class-wp-http-ixr-client.php

    r63927 r64014  
    4848
    4949        /**
     50         * Makes an XML-RPC request and retrieves the response.
     51         *
    5052         * @since 3.1.0
    5153         * @since 5.5.0 Formalized the existing `...$args` parameter by adding it
    5254         *              to the function signature.
    5355         *
     56         * @param mixed ...$args The method name, followed by the arguments to pass to it.
    5457         * @return bool True if the request succeeded, false otherwise.
    5558         */
Note: See TracChangeset for help on using the changeset viewer.