Make WordPress Core


Ignore:
Timestamp:
11/11/2019 02:41:15 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of WP_Error.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-oembed-controller.php

    r46586 r46696  
    111111     *
    112112     * @param WP_REST_Request $request Full data about the request.
    113      * @return WP_Error|array oEmbed response data or WP_Error on failure.
     113     * @return array|WP_Error oEmbed response data or WP_Error on failure.
    114114     */
    115115    public function get_item( $request ) {
Note: See TracChangeset for help on using the changeset viewer.