Make WordPress Core

Changeset 57046


Ignore:
Timestamp:
11/01/2023 03:08:10 PM (8 months ago)
Author:
johnbillion
Message:

Docs: Correct some docblock formatting errors.

Fixes #59784

See #12009, #52710

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

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-term-query.php

    r56585 r57046  
    180180     *     @type string          $cache_domain           Unique cache key to be produced when this query is stored in
    181181     *                                                   an object cache. Default 'core'.
    182     *      @type bool            $cache_results          Whether to cache term information. Default true.
     182     *     @type bool            $cache_results          Whether to cache term information. Default true.
    183183     *     @type bool            $update_term_meta_cache Whether to prime meta caches for matched terms. Default true.
    184184     *     @type string|string[] $meta_key               Meta key or keys to filter by.
  • trunk/src/wp-includes/functions.wp-scripts.php

    r56414 r57046  
    169169 *                                    If set to null, no version is added.
    170170 * @param array|bool       $args     {
    171  *      Optional. An array of additional script loading strategies. Default empty array.
    172  *      Otherwise, it may be a boolean in which case it determines whether the script is printed in the footer. Default false.
    173  *
    174  *      @type string    $strategy     Optional. If provided, may be either 'defer' or 'async'.
    175  *      @type bool      $in_footer    Optional. Whether to print the script in the footer. Default 'false'.
     171 *     Optional. An array of additional script loading strategies. Default empty array.
     172 *     Otherwise, it may be a boolean in which case it determines whether the script is printed in the footer. Default false.
     173 *
     174 *     @type string    $strategy     Optional. If provided, may be either 'defer' or 'async'.
     175 *     @type bool      $in_footer    Optional. Whether to print the script in the footer. Default 'false'.
    176176 * }
    177177 * @return bool Whether the script has been registered. True on success, false on failure.
     
    356356 *                                    If set to null, no version is added.
    357357 * @param array|bool       $args     {
    358  *      Optional. An array of additional script loading strategies. Default empty array.
    359  *      Otherwise, it may be a boolean in which case it determines whether the script is printed in the footer. Default false.
    360  *
    361  *      @type string    $strategy     Optional. If provided, may be either 'defer' or 'async'.
    362  *      @type bool      $in_footer    Optional. Whether to print the script in the footer. Default 'false'.
     358 *     Optional. An array of additional script loading strategies. Default empty array.
     359 *     Otherwise, it may be a boolean in which case it determines whether the script is printed in the footer. Default false.
     360 *
     361 *     @type string    $strategy     Optional. If provided, may be either 'defer' or 'async'.
     362 *     @type bool      $in_footer    Optional. Whether to print the script in the footer. Default 'false'.
    363363 * }
    364364 */
Note: See TracChangeset for help on using the changeset viewer.