Make WordPress Core


Ignore:
Timestamp:
11/23/2021 09:35:57 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Various docblock corrections and improvements.

See #53399

File:
1 edited

Legend:

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

    r51786 r52236  
    5252
    5353        /**
    54          * Checks whether a given request has permission to view the local pattern directory.
     54         * Checks whether a given request has permission to view the local block pattern directory.
    5555         *
    5656         * @since 5.8.0
     
    197197
    198198        /**
    199          * Prepare a raw pattern before it's output in an API response.
     199         * Prepare a raw block pattern before it gets output in a REST API response.
    200200         *
    201201         * @since 5.8.0
     
    224224
    225225                /**
    226                  * Filters the REST API response for a pattern.
     226                 * Filters the REST API response for a block pattern.
    227227                 *
    228228                 * @since 5.8.0
    229229                 *
    230230                 * @param WP_REST_Response $response    The response object.
    231                  * @param object           $raw_pattern The unprepared pattern.
     231                 * @param object           $raw_pattern The unprepared block pattern.
    232232                 * @param WP_REST_Request  $request     The request object.
    233233                 */
     
    236236
    237237        /**
    238          * Retrieves the pattern's schema, conforming to JSON Schema.
     238         * Retrieves the block pattern's schema, conforming to JSON Schema.
    239239         *
    240240         * @since 5.8.0
     
    308308
    309309        /**
    310          * Retrieves the search params for the patterns collection.
     310         * Retrieves the search parameters for the block pattern's collection.
    311311         *
    312312         * @since 5.8.0
     
    337337
    338338                /**
    339                  * Filter collection parameters for the pattern directory controller.
     339                 * Filter collection parameters for the block pattern directory controller.
    340340                 *
    341341                 * @since 5.8.0
Note: See TracChangeset for help on using the changeset viewer.