Make WordPress Core


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

Docs: Correct some docblock formatting errors.

Reviewed by hellofromTonya.
Merges [57046] to the 6.4 branch.

Fixes #59784

Location:
branches/6.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.4

  • branches/6.4/src/wp-includes/functions.wp-scripts.php

    r56414 r57047  
    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.