Make WordPress Core

Changeset 52582


Ignore:
Timestamp:
01/15/2022 09:20:57 PM (5 years ago)
Author:
audrasjb
Message:

Docs: Miscellaneous docblock corrections in REST API and Sitemaps API.

Props kebbet.
See #54729.

Location:
trunk/src/wp-includes
Files:
4 edited

Legend:

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

    r51786 r52582  
    107107
    108108        /**
    109          * Parse block metadata for a block, and prepare it for an API repsonse.
     109         * Parse block metadata for a block, and prepare it for an API response.
    110110         *
    111111         * @since 5.5.0
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-blocks-controller.php

    r47850 r52582  
    4242         * @since 5.0.0
    4343         *
    44          * @param array  $data    Response data to fiter.
     44         * @param array  $data    Response data to filter.
    4545         * @param string $context Context defined in the schema.
    4646         * @return array Filtered response.
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php

    r52311 r52582  
    558558
    559559                                /*
    560                                  * Alows for additional attributes before the content attribute.
     560                                 * Allows for additional attributes before the content attribute.
    561561                                 * Searches for anything other than > symbol.
    562562                                 */
     
    644644                                '#isU';
    645645
    646                 // Find the metdata element.
     646                // Find the metadata element.
    647647                foreach ( $meta_elements[0] as $index => $element ) {
    648648                        preg_match( $pattern, $element, $match );
  • trunk/src/wp-includes/sitemaps/class-wp-sitemaps-index.php

    r48536 r52582  
    2828         * Maximum number of sitemaps to include in an index.
    2929         *
    30          * @sincee 5.5.0
     30         * @since 5.5.0
    3131         *
    3232         * @var int Maximum number of sitemaps.
Note: See TracChangeset for help on using the changeset viewer.