Make WordPress Core


Ignore:
Timestamp:
07/11/2024 06:22:51 AM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typos in various REST API DocBlocks and comments.

Follow-up to [34928], [43739], [46422], [50717], [51973], [54528].

Props antonvlasenko.
Fixes #61593.

File:
1 edited

Legend:

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

    r58704 r58706  
    348348         *
    349349         * @param array $meta_elements {
    350          *     A multi-dimensional indexed array on success, else empty array.
     350         *     A multidimensional indexed array on success, else empty array.
    351351         *
    352352         *     @type string[] $0 Meta elements with a content attribute.
     
    384384         *
    385385         * @param array  $meta_elements {
    386          *     A multi-dimensional indexed array on success, else empty array.
     386         *     A multidimensional indexed array on success, else empty array.
    387387         *
    388388         *     @type string[] $0 Meta elements with a content attribute.
     
    526526         * @param string $html The string of HTML to be parsed.
    527527         * @return array {
    528          *     A multi-dimensional indexed array on success, else empty array.
     528         *     A multidimensional indexed array on success, else empty array.
    529529         *
    530530         *     @type string[] $0 Meta elements with a content attribute.
     
    589589                                /*
    590590                                * These are the options:
    591                                 * - i : case insensitive
     591                                * - i : case-insensitive
    592592                                * - s : allows newline characters for the . match (needed for multiline elements)
    593593                                * - U means non-greedy matching
     
    638638                                /*
    639639                                 * These are the options:
    640                                  * - i : case insensitive
     640                                 * - i : case-insensitive
    641641                                 * - s : allows newline characters for the . match (needed for multiline elements)
    642642                                 * - U means non-greedy matching
Note: See TracChangeset for help on using the changeset viewer.