Make WordPress Core


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

Docs: Correct some docblock formatting errors.

Fixes #59784

See #12009, #52710

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.